Package mekanism.client.gui

Examples of mekanism.client.gui.GuiElectricChest


    if(id == 0)
    {
      if(isBlock)
      {
        FMLClientHandler.instance().displayGuiScreen(entityplayer, new GuiElectricChest(entityplayer.inventory, tileEntity));
        entityplayer.openContainer.windowId = windowId;
      }
      else {
        ItemStack stack = entityplayer.getCurrentEquippedItem();

        if(stack != null && stack.getItem() instanceof IElectricChest && MachineType.get(stack) == MachineType.ELECTRIC_CHEST)
        {
          InventoryElectricChest inventory = new InventoryElectricChest(entityplayer);
          FMLClientHandler.instance().displayGuiScreen(entityplayer, new GuiElectricChest(entityplayer.inventory, inventory));
          entityplayer.openContainer.windowId = windowId;
        }
      }
    }
    else if(id == 1)
View Full Code Here

TOP

Related Classes of mekanism.client.gui.GuiElectricChest

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.