public class ContainerBloodChest extends ContainerTickingChest<TileBloodChest>
BlockBloodChest.| Modifier and Type | Field and Description |
|---|---|
static int |
CHEST_INVENTORY_COLUMNS
Amount of columns in the chest.
|
static int |
CHEST_INVENTORY_ROWS
Amount of rows in the chest.
|
inventory| Constructor and Description |
|---|
ContainerBloodChest(int id,
net.minecraft.entity.player.PlayerInventory playerInventory) |
ContainerBloodChest(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<TileBloodChest> tileSupplier) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addChestSlotsgetFluidCapacity, 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 static final int CHEST_INVENTORY_ROWS
public static final int CHEST_INVENTORY_COLUMNS
public ContainerBloodChest(int id,
net.minecraft.entity.player.PlayerInventory playerInventory)
public ContainerBloodChest(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<TileBloodChest> tileSupplier)
public net.minecraft.inventory.container.Slot makeSlot(net.minecraft.inventory.IInventory inventory,
int index,
int row,
int column)
ContainerTickingChestmakeSlot in class ContainerTickingChest<TileBloodChest>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.