[19:39:37 ERROR]: Could not pass event EntityDeathEvent to TitanetGhast v1.0-SNAPSHOT
java.lang.NoSuchFieldError: Class org.bukkit.Material does not have member field 'org.bukkit.Material SNOW_BALL'
at TitanetGhast-1.6.0.jar/it.titanet.titanetghast.listeners.GhastListener.onDie(GhastListener.java:139) ~[TitanetGhast-1.6.0.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[leaf-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:77) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:629) ~[leaf-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:1030) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.LivingEntity.dropAllDeathLoot(LivingEntity.java:1887) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.LivingEntity.die(LivingEntity.java:1794) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.LivingEntity.hurtServer(LivingEntity.java:1564) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.monster.Ghast.hurtServer(Ghast.java:151) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.LivingEntity.baseTick(LivingEntity.java:468) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.Mob.baseTick(Mob.java:355) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.Entity.tick(Entity.java:864) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3258) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.world.entity.Mob.tick(Mob.java:439) ~[leaf-1.21.4.jar:1.21.4-360-4166445]
at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1396) ~[leaf-1.21.4.ja
I put the plugin, I did not understand how he works, I thought I would figure it out later, as I was busy with construction
And while I was building, it is not clear where, it is not clear how and why - the cries of the dying Ghast were heard, it was terribly louder and disgusting, I was in the upper world and it was strange
It's uncontrollable, I can't control it, I can only let it act!But the original intention is good! Hope to continue to update more configurations and features