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 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 RoseDAmour
, 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
via GitHub by QORTEC
, 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_421_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 tconstruct.library.tools.AbilityHelper.onLeftClickEntity(AbilityHelper.java:126)
at tconstruct.library.tools.ToolCore.onLeftClickEntity(ToolCore.java:611)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78764_a(PlayerControllerMP.java:406)
at net.minecraft.client.Minecraft.func_147116_af(Minecraft.java:1393)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1948)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

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.