Package mekanism.common.inventory.container

Examples of mekanism.common.inventory.container.ContainerElectricChest


  public IInventory itemInventory;
  public boolean isBlock;

  public GuiElectricChest(InventoryPlayer inventory, TileEntityElectricChest tentity)
  {
    super(new ContainerElectricChest(inventory, tentity, null, true));

    xSize+=26;
    ySize+=64;
    tileEntity = tentity;
    isBlock = true;
View Full Code Here


    isBlock = true;
  }

  public GuiElectricChest(InventoryPlayer inventory, IInventory inv)
  {
    super(new ContainerElectricChest(inventory, null, inv, false));

    xSize+=26;
    ySize+=64;
    itemInventory = inv;
    isBlock = false;
View Full Code Here

    }
    else {
      Mekanism.packetHandler.sendTo(new ElectricChestMessage(ElectricChestPacketType.CLIENT_OPEN, false, false, 0, id, null, null), player);
    }

    player.openContainer = new ContainerElectricChest(player.inventory, tileEntity, inventory, isBlock);
    player.openContainer.windowId = id;
    player.openContainer.addCraftingToCrafters(player);
  }
View Full Code Here

TOP

Related Classes of mekanism.common.inventory.container.ContainerElectricChest

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.