Negated the nerf on zombie fall damage, a fall from 3 blocks or less does nothing. 20+ block fall should be fatal. Only had limited testing on version v1.3, no idea if it works on v1.4.
Can edit the values for FallDamageMultiplier and FallDamageStartHeight inside the ModInfo.XML. Default StartHeight is 3 blocks, Default DamageMultiplier is 8.5.
Shout out to KhaineGB original ZombieFallDamage mod for v1. I decompiled that and with the help of ChatGPT I managed to get this working on v1.3. Hope others find it useful.
Changelog
Here’s a hotfix for ZombieFallDamageFix for V1.3, this version actually deals a little damage to zombies from short falls (this wasn’t working correctly in the previous version) and retains the zombies death from very high falls.
FallDamageMultiplier is 1.0 by default and is user customizable if you want the ground to be harsher, just change the value inside the config.json file inside the mod directory.
Shoutout to techfreq as I repurposed his config.json parsing code (from their spiketrapxpmod) after failing to get mine to work!
DOWNLOAD Updated Version for V1.3 (8 KB)
If you buy us a coffee, I appreciate you! If you don’t, I appreciate you still 😉
Credits: Zherkezhi, KhaineGB, techfreq
If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.
1.4 – redcode in config while gamestarting.
Thanks! Will test it
Is a patch required for custom zombies like guppys, double G’s, and khzmusik’s?
That will depend on wether or not those custom zombies inherit from the EntityAlive or EntityHuman methods as that’s what my mod patches.
If the modders are rocking custom classes that aren’t derived from those mentioned above this patch won’t affect them.