java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

GitHub | DasIstVoltone | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    just wanted to come into the world

    GitHub | 7 months ago | DasIstVoltone
    java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP
  2. 0

    GitHub comment 2#241271255

    GitHub | 6 months ago | DasIstVoltone
    java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

      at techguns.events.TechgunsEventhandler.onEntityJoinWorld()
    2. techguns.events
      TechgunsEventhandler.onEntityJoinWorld
      1. techguns.events.TechgunsEventhandler.onEntityJoinWorld(TechgunsEventhandler.java:421)
      1 frame
    3. MC Forge
      EventBus.post
      1. cpw.mods.fml.common.eventhandler.ASMEventHandler_837_TechgunsEventhandler_onEntityJoinWorld_EntityJoinWorldEvent.invoke(.dynamic)
      2. cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
      3. cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
      3 frames
    4. Minecraft
      World.func_72897_h
      1. net.minecraft.world.World.func_72897_h(World.java:3617)
      1 frame
    5. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1979)
      2. net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
      3. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
      4. net.minecraft.client.main.Main.main(SourceFile:148)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    7. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      2 frames