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.
|
getFluidCapacity, getFluidStack, getMaxProgress, getProgresscanInteractWith, getGuiId, getGuiModId, getSizeInventory, getTilegetGuiProvideraddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlotToContainer, adjustPhantomSlot, createNewSlot, detectAndSendChanges, fillPhantomSlot, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, requiresAction, resetDrag, setGuiValueListener, setValue, slotClick, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarpublic 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.