Unremovable Effects

Unremovable Effects

Mod

Makes selected status effects unremovable with Milk Bucket

Server LibraryUtility

315 downloads
1 follower
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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:


Project members

Xires87

Owner

Details

Licensed MIT
Published a month ago
Updated 6 days ago