static class BrewingStandContainer.PotionSlot extends Slot
inventory, slotNumber, xPos, yPos
Constructor and Description |
---|
PotionSlot(IInventory p_i47598_1_,
int p_i47598_2_,
int p_i47598_3_,
int p_i47598_4_) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canHoldPotion(ItemStack stack) |
int |
getSlotStackLimit() |
boolean |
isItemValid(ItemStack stack) |
ItemStack |
onTake(PlayerEntity thePlayer,
ItemStack stack) |
canTakeStack, decrStackSize, func_225517_c_, getHasStack, getItemStackLimit, getSlotIndex, getStack, isEnabled, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, putStack, setBackground
public PotionSlot(IInventory p_i47598_1_, int p_i47598_2_, int p_i47598_3_, int p_i47598_4_)
public boolean isItemValid(ItemStack stack)
isItemValid
in class Slot
public int getSlotStackLimit()
getSlotStackLimit
in class Slot
public ItemStack onTake(PlayerEntity thePlayer, ItemStack stack)
public static boolean canHoldPotion(ItemStack stack)