Package net.minecraft.network.play.client

Examples of net.minecraft.network.play.client.C0DPacketCloseWindow


  private static Minecraft mc = FMLClientHandler.instance().getClient();

  public static void openInventoryGui()
  {
    TabRegistry.mc.thePlayer.sendQueue.addToSendQueue(new C0DPacketCloseWindow(mc.thePlayer.openContainer.windowId));
    GuiInventory inventory = new GuiInventory(TabRegistry.mc.thePlayer);
    TabRegistry.mc.displayGuiScreen(inventory);
  }
View Full Code Here


    private static Minecraft mc = FMLClientHandler.instance().getClient();

    public static void openInventoryGui ()
    {
        mc.thePlayer.sendQueue.addToSendQueue(new C0DPacketCloseWindow(mc.thePlayer.openContainer.windowId));
        GuiInventory inventory = new GuiInventory(mc.thePlayer);
        mc.displayGuiScreen(inventory);
    }
View Full Code Here

TOP

Related Classes of net.minecraft.network.play.client.C0DPacketCloseWindow

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.