public class ContainerColossalChest
extends org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>
ColossalChest.| Modifier and Type | Field and Description |
|---|---|
static int |
CHEST_INVENTORY_COLUMNS
Amount of columns in the chest.
|
static int |
CHEST_INVENTORY_ROWS
Amount of visible rows in the chest.
|
guiProvider| Constructor and Description |
|---|
ContainerColossalChest(net.minecraft.entity.player.InventoryPlayer inventory,
TileColossalChest tile)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChestSlots(int rows,
int columns) |
void |
addListener(net.minecraft.inventory.IContainerListener listener) |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
detectAndSendChanges() |
protected void |
detectAndSendChangesOverride() |
protected void |
disableSlot(int slotIndex) |
protected void |
enableElementAt(int visibleIndex,
int elementIndex,
net.minecraft.inventory.Slot element) |
protected void |
enableSlot(int slotIndex,
int row,
int column) |
int |
getColumns() |
java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> |
getContainerSelection() |
int |
getPageSize() |
protected int |
getSizeInventory() |
protected int |
getTagSize(net.minecraft.nbt.NBTBase tag) |
protected java.util.List<net.minecraft.inventory.Slot> |
getUnfilteredItems() |
protected net.minecraft.inventory.Slot |
makeSlot(net.minecraft.inventory.IInventory inventory,
int index,
int row,
int column) |
void |
onContainerClosed(net.minecraft.entity.player.EntityPlayer entityplayer) |
protected void |
onScroll() |
protected void |
sendSlotContentsToPlayer(net.minecraft.entity.player.EntityPlayerMP player,
net.minecraft.inventory.Container containerToSend,
int slotInd,
net.minecraft.item.ItemStack stack) |
void |
updateCraftingInventory(net.minecraft.entity.player.EntityPlayerMP player,
java.util.List<net.minecraft.item.ItemStack> allItems) |
additionalApplies, filter, getFilteredItemCount, getFilteredItems, getFirstElement, getScrollStepSize, getUnfilteredItemCount, getVisibleElement, isElementVisible, refreshFilter, scrollTo, updateFiltergetGuiProvideraddInventory, addPlayerArmorInventory, addPlayerInventory, addSlotToContainer, adjustPhantomSlot, createNewSlot, fillPhantomSlot, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, requiresAction, setGuiValueListener, setValue, slotClick, transferStackInSlotcalcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_192388_b, func_192389_a, func_193327_a, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, updateProgressBarpublic static final int CHEST_INVENTORY_ROWS
public static final int CHEST_INVENTORY_COLUMNS
public ContainerColossalChest(net.minecraft.entity.player.InventoryPlayer inventory,
TileColossalChest tile)
inventory - The inventory of the player.tile - The tile entity that calls the GUI.protected java.util.List<net.minecraft.inventory.Slot> getUnfilteredItems()
getUnfilteredItems in class org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>protected void addChestSlots(int rows,
int columns)
protected net.minecraft.inventory.Slot makeSlot(net.minecraft.inventory.IInventory inventory,
int index,
int row,
int column)
public void onContainerClosed(net.minecraft.entity.player.EntityPlayer entityplayer)
onContainerClosed in class net.minecraft.inventory.Containerpublic boolean canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn)
canInteractWith in class net.minecraft.inventory.Containerprotected int getSizeInventory()
getSizeInventory in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic int getColumns()
getColumns in class org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>public int getPageSize()
getPageSize in class org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>protected void disableSlot(int slotIndex)
protected void enableSlot(int slotIndex,
int row,
int column)
protected void onScroll()
onScroll in class org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>protected void enableElementAt(int visibleIndex,
int elementIndex,
net.minecraft.inventory.Slot element)
enableElementAt in class org.cyclops.cyclopscore.inventory.container.ScrollingInventoryContainer<net.minecraft.inventory.Slot>public void addListener(net.minecraft.inventory.IContainerListener listener)
addListener in class org.cyclops.cyclopscore.inventory.container.InventoryContainerpublic void detectAndSendChanges()
detectAndSendChanges in class net.minecraft.inventory.Containerprotected void detectAndSendChangesOverride()
protected void sendSlotContentsToPlayer(net.minecraft.entity.player.EntityPlayerMP player,
net.minecraft.inventory.Container containerToSend,
int slotInd,
net.minecraft.item.ItemStack stack)
protected int getTagSize(net.minecraft.nbt.NBTBase tag)
public void updateCraftingInventory(net.minecraft.entity.player.EntityPlayerMP player,
java.util.List<net.minecraft.item.ItemStack> allItems)
public java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> getContainerSelection()