Fixes server compilation failure in ClientBaubleyHeartCanisters.java, because Dist.CLIENT is not known to the server so this static subscriber class fails on servers. Fixed by making it less static and instantiating it + registering it with MinecraftForge.EVENT_BUS.register(new ClientBaubleyHeartCanisters());
Fixes server compilation failure in
ClientBaubleyHeartCanisters.java
, becauseDist.CLIENT
is not known to the server so this static subscriber class fails on servers. Fixed by making it less static and instantiating it + registering it withMinecraftForge.EVENT_BUS.register(new ClientBaubleyHeartCanisters());
Fix the server canister bug with my changes in
HealthModifier.java
.Cleaned up some code (imports, mostly) and fixed your required Forge version being really old.