Package net.minecraft.screen
Class BrewingScreenHandler.PotionSlot
java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.screen.BrewingScreenHandler.PotionSlot
- Enclosing class:
- BrewingScreenHandler
- Mappings:
Namespace Name official xm$bintermediary net/minecraft/class_1003$class_1005named net/minecraft/screen/BrewingScreenHandler$PotionSlot
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPotionSlot(PlayerEntity player, Inventory inventory, int invSlot, int xPosition, int yPosition) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintstatic booleanvoidonTakeItem(PlayerEntity player, ItemStack stack) Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, equals, getBackgroundSprite, getMaxStackAmount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, setStack, takeStack
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official aLxm$b;a:Lwn;intermediary field_4096Lnet/minecraft/class_1003$class_1005;field_4096:Lnet/minecraft/class_988;named playerLnet/minecraft/screen/BrewingScreenHandler$PotionSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
PotionSlot
public PotionSlot(PlayerEntity player, Inventory inventory, int invSlot, int xPosition, int yPosition) - Mappings:
Namespace Name Mixin selector official <init>Lxm$b;<init>(Lwn;Log;III)Vintermediary <init>Lnet/minecraft/class_1003$class_1005;<init>(Lnet/minecraft/class_988;Lnet/minecraft/class_849;III)Vnamed <init>Lnet/minecraft/screen/BrewingScreenHandler$PotionSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/Inventory;III)V
-
-
Method Details
-
canInsert
-
getMaxStackAmount
public int getMaxStackAmount()- Overrides:
getMaxStackAmountin classSlot- Mappings:
Namespace Name Mixin selector official aLyg;a()Iintermediary method_3291Lnet/minecraft/class_1026;method_3291()Inamed getMaxStackAmountLnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector official aLyg;a(Lwn;Lzx;)Vintermediary method_3298Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Vnamed onTakeItemLnet/minecraft/inventory/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
matches
- Mappings:
Namespace Name Mixin selector official b_Lxm$b;b_(Lzx;)Zintermediary method_6338Lnet/minecraft/class_1003$class_1005;method_6338(Lnet/minecraft/class_1071;)Znamed matchesLnet/minecraft/screen/BrewingScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z
-