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 booleancanInsert(ItemStack stack)intgetMaxItemCount()static booleanmatches(ItemStack stack)ItemStackonTakeItem(PlayerEntity player, ItemStack stack)Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getStack, hasStack, markDirty, method_32753, method_32754, method_32755, method_32756, onCrafted, onCrafted, onStackChanged, onTake, setStack, takeStack
-
Constructor Details
-
PotionSlot
-
-
Method Details
-
canInsert
-
getMaxItemCount
public int getMaxItemCount()- Overrides:
getMaxItemCountin classSlot
-
onTakeItem
- Overrides:
onTakeItemin classSlot
-
matches
-