nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
Unremovable Effects

Unremovable Effects

Mod

Makes selected status effects unremovable with Milk Bucket

Server LibraryUtility

2,640 downloads
2 followers

Requires Fabric API

A simple mod that makes selected status effects unremovable with Milk Bucket

You can make any status effect unremovable with a datapack.

Datapacks:

To make status effect unremovable, in data/unremovableeffects/unremovable_status_effects/ create json file containing:

{
  "replace": false,
  "replace_priority": 0,
  "status_effects": [
]
}

In "status_effects" add status effects which you want to make unremovable, for example:

{
  "replace": false,
  "replace_priority": 0,
  "status_effects": [
    "minecraft:speed",
    "minecraft:poison",
    "some_mod_id:some_status_effect",
    "some_mod_id:another_status_effect"
  ]
}

If you set "replace" to true, other files will be ignored.

If there are multiple files with replace set to true, the one with the highest priority ("replace_priority") will be used.

If multiple files has the same "replace_priority", the one that was loaded first will be used (a warning in logs will appear in such situation)

Compatibility:

External resources


Project members

Xires87

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID