Bassebombecraft

Bassebombecraft

18.5k Downloads

ClassCastException: Cannot cast net.minecraft.entity.passive.EntitySquid to net.minecraft.entity.EntityCreature

Closed this issue ยท 0 comments

commented

java.lang.ClassCastException: Cannot cast net.minecraft.entity.passive.EntitySquid to net.minecraft.entity.EntityCreature
at java.lang.Class.cast(Unknown Source)
at bassebombecraft.entity.ai.AiUtils.buildCharmedMobAi(AiUtils.java:142)
at bassebombecraft.event.charm.DefaultCharmedMobsRepository.add(DefaultCharmedMobsRepository.java:46)
at bassebombecraft.item.action.inventory.CharmBeast.applyEffect(CharmBeast.java:54)
at bassebombecraft.item.inventory.GenericInventoryItem.applyEffect(GenericInventoryItem.java:186)
at bassebombecraft.item.inventory.GenericInventoryItem.onUpdate(GenericInventoryItem.java:142)
at net.minecraft.item.ItemStack.updateAnimation(ItemStack.java:503)
at net.minecraft.entity.player.InventoryPlayer.decrementAnimations(InventoryPlayer.java:390)
at net.minecraft.entity.player.EntityPlayer.onLivingUpdate(EntityPlayer.java:563)
at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2290)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:258)
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:341)
at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:176)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:218)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:308)
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:195)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:817)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:698)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:547)
at java.lang.Thread.run(Unknown Source)