Examples of WorldClient


Examples of net.minecraft.src.WorldClient

  public AbstractClientPlayer getAbstractPlayerFromId(int id) {
    if (getHandle().thePlayer.entityId == id) {
      return getHandle().thePlayer;
    }
    WorldClient world = (WorldClient)getHandle().theWorld;
    Entity e = world.getEntityByID(id);
    if (e instanceof AbstractClientPlayer) {
      return (AbstractClientPlayer) e;
    }
    return null;
  }
View Full Code Here

Examples of net.minecraft.src.WorldClient

 
  public EntityPlayer getPlayerFromId(int id) {
    if (getHandle().thePlayer.entityId == id) {
      return getHandle().thePlayer;
    }
    WorldClient world = (WorldClient)getHandle().theWorld;
    Entity e = world.getEntityByID(id);
    if (e instanceof EntityPlayer) {
      return (EntityPlayer) e;
    }
    return null;
  }
View Full Code Here

Examples of net.minecraft.src.WorldClient

  public Entity getEntityFromId(int id) {
    if (getHandle().thePlayer.entityId == id) {
      return getHandle().thePlayer;
    }
    WorldClient world = (WorldClient)getHandle().theWorld;
    return world.getEntityByID(id);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.