T - The type of tile.public abstract class TickingChestContainer<T extends TickingTankInventoryTileEntity<T>> extends TickingTankInventoryContainer<T>
guiProvider| 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.
|
detectAndSendChanges, onCraftGuiOpened, updateProgressBarcanInteractWith, getSizeInventory, getTilegetGuiProvideraddInventory, addPlayerArmorInventory, addPlayerInventory, addSlotToContainer, adjustPhantomSlot, createNewSlot, fillPhantomSlot, func_184996_a, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, requiresAction, setGuiValueListener, setValue, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraftpublic 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.