Class ContainerChest

java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerChest

public class ContainerChest extends Container
  • Constructor Details

  • Method Details

    • canInteractWith

      public boolean canInteractWith(EntityPlayer par1EntityPlayer)
      Specified by:
      canInteractWith in class Container
    • transferStackInSlot

      public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
      Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.
      Overrides:
      transferStackInSlot in class Container
    • onContainerClosed

      public void onContainerClosed(EntityPlayer par1EntityPlayer)
      Called when the container is closed.
      Overrides:
      onContainerClosed in class Container
    • getLowerChestInventory

      public IInventory getLowerChestInventory()
      Return this chest container's lower chest inventory.