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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by HENREX
, 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 QORTEC
, 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 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:277)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_12_EventHooksForge_onLivingAttack_LivingAttackEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:820)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78764_a(PlayerControllerMP.java:526)
at net.minecraft.client.Minecraft.func_147116_af(Minecraft.java:1452)
at net.minecraft.client.Minecraft.redirect$onClickMouse$0(Minecraft.java:118)
at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:2179)
at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:1961)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1749)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1055)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
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:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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