class ContainerBrewingStand.Ingredient extends Slot
inventory, slotNumber, xDisplayPosition, yDisplayPosition
Constructor and Description |
---|
Ingredient(IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
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 Ingredient(IInventory inventoryIn, int index, int xPosition, int yPosition)
public boolean isItemValid(ItemStack stack)
Slot
isItemValid
in class Slot
public int getSlotStackLimit()
Slot
getSlotStackLimit
in class Slot