static class BrewingStandScreenHandler.PotionSlot extends Slot
Constructor and Description |
---|
PotionSlot(Inventory inventory,
int index,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInsert(ItemStack stack) |
int |
getMaxItemCount() |
static boolean |
matches(ItemStack stack) |
ItemStack |
onTakeItem(PlayerEntity player,
ItemStack stack) |
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, setStack, takeStack
public PotionSlot(Inventory inventory, int index, int x, int y)
public int getMaxItemCount()
getMaxItemCount
in class Slot
public ItemStack onTakeItem(PlayerEntity player, ItemStack stack)
onTakeItem
in class Slot
public static boolean matches(ItemStack stack)