[Crash] Sickened Creeper doesn't extend vannilla class, and crashes with Epic Fight patcher
MetalKnight56 opened this issue · 2 comments
Please check the guidelines before submitting: #217
Minecraft version
1.18.2
Mod version
any
Describe the bug
Creepers don't extend the vanilla creeper class
To Reproduce
Steps to reproduce the behavior:
So epic fight heavily rely on mods extending vanilla classes of each entity to apply presets. Wither Storm mod doesn't seem to extend the vanilla class of the creeper entity, and thus epic fight inst' able to properly define what the sickened creeper entity is and thus has issues with it and can cause a crash. This should be a simple fix as it would only require you to do a simple change on the sickened creeper class.
Crash Reports / Logs
https://mclo.gs/1LqkrLV
Screenshots
No screenshots can be provided as this error hapens when a datapack patcher from efm is applied on a world with a creeper entity that is loaded. You can try using this datapack on a world with an already existing sickened creeper entity that is loaded and you'll see the crash.
witherstorm_patch.zip
All the sickened mobs are actually extensions of a base AbstractSickenedEntity
class that contains base logic shared across all the sickened mobs, for converting to and from sickened/non-sickened versions. Right now moving this class to an interface would take a lot of rewriting (which would allow me to extend the Creeper class) so I'll have to look into further sometime in the near future. Thanks for reaching out though.