Package net.minecraft.client.entity

Examples of net.minecraft.client.entity.EntityClientPlayerMP


    public void readData(DataInputStream data) throws IOException {
        windowId = data.readByte();
        dataId = data.readByte();
        value = data.readInt();

        EntityClientPlayerMP player = FMLClientHandler.instance().getClient().thePlayer;

        if (player.openContainer != null && player.openContainer.windowId == windowId)
            player.openContainer.updateProgressBar(dataId, value);
    }
View Full Code Here


    }
    return (i < 1000) ? outputFile : null;
  }
 
  public static void printBoth(String msg) {
    EntityClientPlayerMP thePlayer = Minecraft.getMinecraft().thePlayer;
    if (thePlayer != null) {
      thePlayer.addChatMessage(new ChatComponentText(msg));
    }
    MwUtil.log("%s", msg);
  }
View Full Code Here

        OverlaySlime.seed = seed;
        OverlaySlime.seedFound = true;
    }

    public static void askSeed(){
        EntityClientPlayerMP player = Minecraft.getMinecraft().thePlayer;
        if(player == null) return;
        player.sendChatMessage("/seed"); //Send the /seed command to the server
        seedAsked = true;
    }
View Full Code Here

            entity.serverPosX = spawnMsg.rawX;
            entity.serverPosY = spawnMsg.rawY;
            entity.serverPosZ = spawnMsg.rawZ;

            EntityClientPlayerMP clientPlayer = FMLClientHandler.instance().getClientPlayerEntity();
            if (entity instanceof IThrowableEntity)
            {
                Entity thrower = clientPlayer.getEntityId() == spawnMsg.throwerId ? clientPlayer : wc.getEntityByID(spawnMsg.throwerId);
                ((IThrowableEntity) entity).setThrower(thrower);
            }

            if (spawnMsg.dataWatcherList != null)
            {
View Full Code Here

TOP

Related Classes of net.minecraft.client.entity.EntityClientPlayerMP

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.