T - The type of tile.public abstract class TickingChestContainer<T extends TickingTankInventoryTileEntity<T>> extends TickingTankInventoryContainer<T>
tileguiProviderITEMBOX| Constructor and Description |
|---|
TickingChestContainer(net.minecraft.entity.player.InventoryPlayer inventory,
T tile,
int rows,
int columns,
int offsetX,
int offsetY)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChestSlots(int rows,
int columns) |
abstract net.minecraft.inventory.Slot |
makeSlot(net.minecraft.inventory.IInventory inventory,
int index,
int row,
int column)
Add a new slot in the given inventory at the given index and at the given row and column.
|
addCraftingToCrafters, detectAndSendChanges, updateProgressBarcanInteractWith, getSizeInventory, getTilegetGuiProvideraddInventory, addPlayerInventory, addSlotToContainer, createNewSlot, getPlayerIInventory, getSlotRange, getSlotStart, mergeItemStack, slotClick, transferStackInSlotcalcRedstoneFromInventory, canDragIntoSlot, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94530_a, func_94532_c, func_94533_d, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresentpublic TickingChestContainer(net.minecraft.entity.player.InventoryPlayer inventory,
T tile,
int rows,
int columns,
int offsetX,
int offsetY)
inventory - The player inventory.tile - The tile entity this container refers to.rows - The amount of rows this chest has.columns - The amount of columns this chest has.offsetX - The X offset for the chest slots.offsetY - The Y offset for the chest slots.protected void addChestSlots(int rows,
int columns)
public abstract net.minecraft.inventory.Slot makeSlot(net.minecraft.inventory.IInventory inventory,
int index,
int row,
int column)
inventory - The inventory for the chest.index - The index to make the slot at.row - The row for the slot.column - The column for the slot.