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, takeStackpublic PotionSlot(Inventory inventory, int index, int x, int y)
public int getMaxItemCount()
getMaxItemCount in class Slotpublic ItemStack onTakeItem(PlayerEntity player, ItemStack stack)
onTakeItem in class Slotpublic static boolean matches(ItemStack stack)