public class ContainerLocalMenu extends InventoryBasic implements ILockableContainer
| Constructor and Description |
|---|
ContainerLocalMenu(java.lang.String id,
ITextComponent title,
int slotCount) |
| Modifier and Type | Method and Description |
|---|---|
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
int |
getField(int id) |
int |
getFieldCount() |
java.lang.String |
getGuiID() |
LockCode |
getLockCode() |
boolean |
isLocked() |
void |
setField(int id,
int value) |
void |
setLockCode(LockCode code) |
addInventoryChangeListener, addItem, clear, closeInventory, decrStackSize, getDisplayName, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCustomName, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeInventoryChangeListener, removeStackFromSlot, setCustomName, setInventorySlotContentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, closeInventory, decrStackSize, getInventoryStackLimit, getSizeInventory, getStackInSlot, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setInventorySlotContentsgetDisplayName, getName, hasCustomNamepublic ContainerLocalMenu(java.lang.String id,
ITextComponent title,
int slotCount)
public int getField(int id)
getField in interface IInventorygetField in class InventoryBasicpublic void setField(int id,
int value)
setField in interface IInventorysetField in class InventoryBasicpublic int getFieldCount()
getFieldCount in interface IInventorygetFieldCount in class InventoryBasicpublic boolean isLocked()
isLocked in interface ILockableContainerpublic void setLockCode(LockCode code)
setLockCode in interface ILockableContainerpublic LockCode getLockCode()
getLockCode in interface ILockableContainerpublic java.lang.String getGuiID()
getGuiID in interface IInteractionObjectpublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObject