Incompatibility with the mod Creeper Spores
Leeo97one opened this issue ยท 3 comments
Expected Behavior
The Creeper Spores status effect should be given to any entity caught in a creeper explosion.
See: https://www.curseforge.com/minecraft/mc-mods/creeper-spores
Actual Behavior
No status effect is given.
Reproduction Steps
- Load the mods Lithium and Creeper Spore
- In-game, spawn a creeper
- Let the creeper explode next to you
I don't think there's anything we can do to fix this issue. While this incompatibility is unfortunate, strictly speaking there isn't really bug in either Lithium or Creeper Spores... they just can't patch the exact same code. For the time being however, Creeper Spores can specify in their mod manifest that Lithium should disable its conflicting patches using the following attribute:
"custom": {
"lithium:options": {
"mixin.world.explosions": false
}
}
In the future, perhaps Fabric API could provide events for when an entity is damaged by a explosion so that mods like this can add custom behavior without needing to patch game code, in effect enabling better compatibility.
This is probably caused by the explosion optimization. Try adding the line
mixin.world.explosions=false
to the lithium.properties file to work around it