Solved Get LivingEntity Handler?

Discussion in 'Plugin Development' started by John Cameron, Jul 7, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    John Cameron

    Exactly what the title says, how do I get it?

    Thanks! :D
     
  2. Offline

    Comphenix

    Handler? Do you mean a handle to the EntityPlayer/EntityLiving in NMS? If so, just cast the entity to CraftEntity and call its getHandle() method:
    Code:java
    1. EntityLiving living = (EntityLiving) ((CraftEntity) entity).getHandle();
     
Thread Status:
Not open for further replies.

Share This Page