T - The type of tile.public abstract class ContainerTickingChest<T extends TickingTankInventoryTileEntity<T>> extends ContainerInventoryTickingTank<T>
inventory| Constructor and Description |
|---|
ContainerTickingChest(net.minecraft.inventory.container.ContainerType<?> type,
int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<T> tileSupplier,
int tickers,
int rows,
int columns,
int offsetX,
int offsetY) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChestSlots(int rows,
int columns) |
abstract net.minecraft.inventory.container.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, getProgress, getTileSuppliercanInteractWith, getContainerInventory, getSizeInventory, isAssertInventorySize, onContainerClosedaddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlot, adjustPhantomSlot, createNewSlot, detectAndSendChanges, fillPhantomSlot, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, getValueNotifiableType, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, resetDrag, setGuiValueListener, setSlotPosX, setSlotPosY, setValue, slotClick, transferStackInSlotareItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, onCraftMatrixChanged, putStackInSlot, removeListener, setAll, setCanCraft, trackInt, trackIntArray, updateProgressBarpublic ContainerTickingChest(@Nullable
net.minecraft.inventory.container.ContainerType<?> type,
int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<T> tileSupplier,
int tickers,
int rows,
int columns,
int offsetX,
int offsetY)
protected void addChestSlots(int rows,
int columns)
public abstract net.minecraft.inventory.container.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.