Improved Mobs (Fabric)

Improved Mobs (Fabric)

170k Downloads

[1.12.2] Game crashes if there aren't any valid weapons to give to mobs.

SonicX8000 opened this issue ยท 4 comments

commented

Minecraft: 1.12.2
Forge: 14.23.5.2847

Mods:
Forgelin-1.8.4
ImprovedMobs-1.12.2-1.5.1
TenshiLib-1.12.2-1.2.1

Crash Report:
https://pastebin.com/ayNFAdRH


With the default config, change the Equipment Whitelist to true so the Equipment Blacklist is treated as a Whitelist. Shortly after... the game will crash.

My guess is that there needs to be at least one valid weapon for mobs to equip to avoid this crash from occurring.

This crash can also occur if you have enough entries added into the Equipment Blacklist but with the Whitelist set to false. Same crash occurs if there isn't a valid weapon to give them.

P.S.
Enchanting Chance & Enchanting Addition appear to be broken as I've set them to 0.0 and mobs still had enchanted weapons & armor. Unsure if certain other configs are broken such as Item Equip Chance.

commented

did you set both the enchant values to 0?
edit: they might be appearing to have enchanted stuff but its prob only curse of vanishing. as i use that to prevent them from dropping armor. try set "Should drop equipment" to true and see if they still spawn enchanted.

commented

headdesk

That's why... Curse of Vanishing makes the equipment have the enchantment glows. I used Reliquary's Rod of Lyssa item to steal the items off them and the only enchantment with both chances set at 0 are Curse of Vanishing. Did another test after setting them to higher values and they have enchantments alongside Curse of Vanishing.

commented

kk. thx for verifying

commented

No problem