VazkiiMods / Botania

A tech mod for Minecraft themed around the magic of nature and plant life.
http://botaniamod.net/index.html
Other
1.25k stars 497 forks source link

Move Diva Charm effect outside of damage logic and support angry neutral mobs #4656

Closed TheRealWormbo closed 1 month ago

TheRealWormbo commented 1 month ago

Fixes #4561 by temporarily storing mob IDs on the charm and applying the brainwashing during the next worn tick. Fabric damage hook for the charm was also moved to LivingEntity::actuallyHurt for better parity with Forge.

TheRealWormbo commented 1 month ago

Neutral mob support works as follows: