Package net.minecraft.entity.player

Examples of net.minecraft.entity.player.EntityPlayerMP.openGui()


      }
    } else if (arguments.length > 1 && arguments[1].equalsIgnoreCase("gui")) {
      if (sender instanceof EntityPlayerMP) {
        EntityPlayerMP thePlayer = (EntityPlayerMP) sender;
        SocialRegistry.sendFriendsToPlayer(thePlayer);
        thePlayer.openGui(CoFHCore.instance, GuiHandler.FRIENDS_ID, thePlayer.worldObj, (int) thePlayer.posX, (int) thePlayer.posY,
            (int) thePlayer.posZ);
      }
    } else {
      sender.addChatMessage(new ChatComponentText(StringHelper.localize("info.cofh.command.syntaxError") + " /cofh friend " + StringHelper.YELLOW
          + "<gui|add|remove> " + StringHelper.PINK + "<username>"));
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.