Package net.minecraft.client.entity

Examples of net.minecraft.client.entity.EntityClientPlayerMP.addChatMessage()


            return;
        }
        for (ClickableModule module : boundModules) {
            String valstring = toggleval ? " on" : " off";
            if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT) {
                player.addChatMessage(new ChatComponentText("Toggled " + module.getModule().getDataName() + valstring));
            }
            MuseItemUtils.toggleModuleForPlayer(player, module.getModule().getDataName(), toggleval);
            MusePacketToggleRequest toggleRequest = new MusePacketToggleRequest(player, module.getModule().getDataName(), toggleval);
            PacketSender.sendToServer(toggleRequest);
        }
View Full Code Here


  }
 
  public static void printBoth(String msg) {
    EntityClientPlayerMP thePlayer = Minecraft.getMinecraft().thePlayer;
    if (thePlayer != null) {
      thePlayer.addChatMessage(new ChatComponentText(msg));
    }
    MwUtil.log("%s", msg);
  }
 
  public static File getDimensionDir(File worldDir, int dimension) {
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.