class ContainerBeacon.BeaconSlot extends Slot
inventory, slotNumber, xDisplayPosition, yDisplayPosition
Constructor and Description |
---|
BeaconSlot(IInventory p_i1801_2_,
int p_i1801_3_,
int p_i1801_4_,
int p_i1801_5_) |
Modifier and Type | Method and Description |
---|---|
int |
getSlotStackLimit()
Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case
of armor slots)
|
boolean |
isItemValid(ItemStack stack)
Check if the stack is a valid item for this slot.
|
canBeHovered, canTakeStack, decrStackSize, getHasStack, getItemStackLimit, getSlotTexture, getStack, isHere, onCrafting, onCrafting, onPickupFromSlot, onSlotChange, onSlotChanged, putStack
public BeaconSlot(IInventory p_i1801_2_, int p_i1801_3_, int p_i1801_4_, int p_i1801_5_)
public boolean isItemValid(ItemStack stack)
Slot
isItemValid
in class Slot
public int getSlotStackLimit()
Slot
getSlotStackLimit
in class Slot