Infinity Cave Incompability
rerun4842 opened this issue ยท 7 comments
Describe the bug
When using both mods, mobs from "more_mobs" like zombies are conflicting with mobs from Infinity Cave, but mobs not covered by "more_mobs" work just as expected
Steps to reproduce
- Spawn a legendary mob from infinity cave using the debug menu
- The stats of the mob get instantly modified, on mobs covered by "more_mobs" while stuff like slimes work and ravagers work just as expected
Expected behavior
Mobs from "more_mobs" don't affect the Infinity Cave mobs by debuffing them
Additional context
1.21.3 Fabric Latest version of both mods, latest fabric API
Thank you for the report. By stats, I assume you mean armor, tools and weapons?
Hm, More Mobs itself does not change stats. However, it could be that the buffs are tied to the armor the mobs are wearing, which could be overridden when a custom head is given.
I had a check in place to prevent this, but I just noticed that it's broken for 1.21.3. This will be fixed in the next release
I usually don't push updates for single fixes like this one, so I don't want to give an ETA.
If you need a fix asap, navigate to data\more_mobs\function\general\parse_heads\parse.mcfunction inside the .jar and replace
# Exclusion for already filled head slots
execute as @s[tag=!ts.mm.parsed] as @s[nbt={ArmorItems:[{},{},{},{Count:1b}]}] run tag @s add ts.mm.parsed
with
# Exclusion for already filled head slots
execute as @s[tag=!ts.mm.parsed] as @s[nbt={ArmorItems:[{},{},{},{count:1}]}] run tag @s add ts.mm.parsed
This should be enough for the check to work in 1.21.3 (it will still be broken in 1.20.6 for anyone else reading this)