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 aco$cintermediary 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 booleanmethod_3298(PlayerEntity playerEntity, ItemStack itemStack) Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, equals, getBackgroundSprite, getMaxStackAmount, getStack, hasStack, markDirty, method_13644, onCrafted, onCrafted, onStackChanged, setStack, takeStack
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official aLaco$c;a:Laay;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>Laco$c;<init>(Laay;Lrc;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 aLadl;a()Iintermediary method_3291Lnet/minecraft/class_1026;method_3291()Inamed getMaxStackAmountLnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
-
method_3298
- Overrides:
method_3298in classSlot- Mappings:
Namespace Name Mixin selector official aLadl;a(Laay;Lafj;)Lafj;intermediary method_3298Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;named method_3298Lnet/minecraft/inventory/slot/Slot;method_3298(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
matches
- Mappings:
Namespace Name Mixin selector official c_Laco$c;c_(Lafj;)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
-