public abstract class MachineContainer
extends net.minecraft.inventory.Container
| Constructor and Description |
|---|
MachineContainer(net.minecraft.inventory.IInventory inventory) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.inventory.IInventory |
getInventoryTile() |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotIndex) |
void |
updateProgressBar(int id,
int data) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canInteractWith, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClickpublic MachineContainer(net.minecraft.inventory.IInventory inventory)
public void updateProgressBar(int id,
int data)
updateProgressBar in class net.minecraft.inventory.Containerpublic net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotIndex)
transferStackInSlot in class net.minecraft.inventory.Containerpublic net.minecraft.inventory.IInventory getInventoryTile()