public class ContainerList extends ContainerBC_Neptune
| Modifier and Type | Field and Description |
|---|---|
protected static IdAllocator |
IDS |
ListHandler.Line[] |
lines |
DEBUG, NET_DATA, NET_SET_PHANTOM, NET_SET_PHANTOM_MULTI, NET_WIDGET, player| Constructor and Description |
|---|
ContainerList(net.minecraft.entity.player.EntityPlayer iPlayer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer player) |
IdAllocator |
getIdAllocator() |
net.minecraft.item.ItemStack |
getListItemStack() |
void |
readMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
setLabel(java.lang.String text) |
void |
switchButton(int lineIndex,
int button) |
addFullPlayerInventory, addFullPlayerInventory, addWidget, getWidgets, safeCopy, sendMessage, sendMessage, sendSetPhantomSlot, sendSetPhantomSlot, sendSetPhantomSlots, slotClick, transferStackInSlot, writeMessageaddListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarprotected static final IdAllocator IDS
public ListHandler.Line[] lines
public ContainerList(net.minecraft.entity.player.EntityPlayer iPlayer)
public IdAllocator getIdAllocator()
getIdAllocator in class ContainerBC_NeptuneIdAllocator that allocates all ID's for this class, and its parent classes. All subclasses
should override this if they allocate their own ids after calling
IdAllocator.makeChild(String)public boolean canInteractWith(net.minecraft.entity.player.EntityPlayer player)
canInteractWith in class net.minecraft.inventory.Container@Nonnull public net.minecraft.item.ItemStack getListItemStack()
public void switchButton(int lineIndex,
int button)
public void setLabel(java.lang.String text)
public void readMessage(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
throws java.io.IOException
readMessage in class ContainerBC_Neptunejava.io.IOException