java.lang.ClassCastException: net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by RoseDAmour
, 1 year ago
net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
via GitHub by QORTEC
, 1 year ago
net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
via GitHub by QORTEC
, 1 year ago
net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
via GitHub by sethleedy
, 1 year ago
net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
via GitHub by HENREX
, 1 year ago
net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
java.lang.ClassCastException: net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman
at mca.core.forge.EventHooksForge.onLivingAttack(EventHooksForge.java:259)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_21_EventHooksForge_onLivingAttack_LivingAttackEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:850)
at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1404)
at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1558)
at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55)
at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.