static class ContainerBrewingStand.Potion extends Slot
backgroundLocation, backgroundMap, backgroundName, inventory, slotNumber, xPos, yPos| Constructor and Description |
|---|
Potion(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(EntityPlayer thePlayer,
ItemStack stack) |
canTakeStack, decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, putStack, setBackgroundLocation, setBackgroundNamepublic Potion(IInventory p_i47598_1_, int p_i47598_2_, int p_i47598_3_, int p_i47598_4_)
public boolean isItemValid(ItemStack stack)
isItemValid in class Slotpublic int getSlotStackLimit()
getSlotStackLimit in class Slotpublic ItemStack onTake(EntityPlayer thePlayer, ItemStack stack)
public static boolean canHoldPotion(ItemStack stack)