Package net.minecraft.src

Examples of net.minecraft.src.WorldClient


    SkyRenderer.access$000().clear();
  }

  public void afterChange() {
    if (SkyRenderer.access$100()) {
      WorldClient world = Minecraft.getMinecraft().theWorld;

      if (world != null) {
        SkyRenderer.access$200(world.provider.dimensionId);
      }
    }
View Full Code Here


  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

 
  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

  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

Related Classes of net.minecraft.src.WorldClient

Copyright © 2018 www.massapicom. 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.