Class BrewingStandContainer.PotionSlot
- java.lang.Object
-
- net.minecraft.inventory.container.Slot
-
- net.minecraft.inventory.container.BrewingStandContainer.PotionSlot
-
- Enclosing class:
- BrewingStandContainer
static class BrewingStandContainer.PotionSlot extends Slot
-
-
Constructor Summary
Constructors Constructor Description PotionSlot(IInventory p_i47598_1_, int p_i47598_2_, int p_i47598_3_, int p_i47598_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxStackSize()
boolean
mayPlace(ItemStack p_75214_1_)
static boolean
mayPlaceItem(ItemStack p_75243_0_)
ItemStack
onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
-
Methods inherited from class net.minecraft.inventory.container.Slot
checkTakeAchievements, getItem, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, remove, set, setBackground, setChanged
-
-
-
-
Constructor Detail
-
PotionSlot
public PotionSlot(IInventory p_i47598_1_, int p_i47598_2_, int p_i47598_3_, int p_i47598_4_)
-
-
Method Detail
-
getMaxStackSize
public int getMaxStackSize()
- Overrides:
getMaxStackSize
in classSlot
-
onTake
public ItemStack onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
-
mayPlaceItem
public static boolean mayPlaceItem(ItemStack p_75243_0_)
-
-