Package net.minecraft.screen
Class BrewingStandScreenHandler.PotionSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.BrewingStandScreenHandler.PotionSlot
- Enclosing class:
- BrewingStandScreenHandler
static class BrewingStandScreenHandler.PotionSlot extends Slot
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PotionSlot(Inventory inventory, int index, int x, int y)
-
Method Summary
Modifier and Type Method Description boolean
canInsert(ItemStack stack)
int
getMaxItemCount()
static boolean
matches(ItemStack stack)
ItemStack
onTakeItem(PlayerEntity player, ItemStack stack)
Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, setStack, takeStack
-
Constructor Details
-
PotionSlot
-
-
Method Details
-
canInsert
-
getMaxItemCount
public int getMaxItemCount()- Overrides:
getMaxItemCount
in classSlot
-
onTakeItem
- Overrides:
onTakeItem
in classSlot
-
matches
-