Package net.minecraft.screen
Class BrewingStandScreenHandler.PotionSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.BrewingStandScreenHandler.PotionSlot
- Enclosing class:
BrewingStandScreenHandler
- Mappings:
Namespace Name official cbk$c
intermediary net/minecraft/class_1708$class_1711
named net/minecraft/screen/BrewingStandScreenHandler$PotionSlot
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
static boolean
void
onTakeItem
(PlayerEntity player, ItemStack stack) Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, canTakePartial, getBackgroundSprite, getIndex, getMaxItemCount, getStack, hasStack, insertStack, insertStack, isEnabled, markDirty, method_51306, onCrafted, onCrafted, onQuickTransfer, onTake, setStack, setStackNoCallbacks, takeStack, takeStackRange, tryTakeStackRange
-
Constructor Details
-
PotionSlot
- Mappings:
Namespace Name Mixin selector official <init>
Lccx;<init>(Lbdq;III)V
intermediary <init>
Lnet/minecraft/class_1735;<init>(Lnet/minecraft/class_1263;III)V
named <init>
Lnet/minecraft/screen/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
-
-
Method Details
-
canInsert
-
getMaxItemCount
public int getMaxItemCount()- Overrides:
getMaxItemCount
in classSlot
- Mappings:
Namespace Name Mixin selector official a
Lccx;a()I
intermediary method_7675
Lnet/minecraft/class_1735;method_7675()I
named getMaxItemCount
Lnet/minecraft/screen/slot/Slot;getMaxItemCount()I
-
onTakeItem
- Overrides:
onTakeItem
in classSlot
- Mappings:
Namespace Name Mixin selector official a
Lccx;a(Lbyo;Lcfz;)V
intermediary method_7667
Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
named onTakeItem
Lnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-
matches
- Mappings:
Namespace Name Mixin selector official b
Lcbk$c;b(Lcfz;)Z
intermediary method_7631
Lnet/minecraft/class_1708$class_1711;method_7631(Lnet/minecraft/class_1799;)Z
named matches
Lnet/minecraft/screen/BrewingStandScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z
-