Class BrewingScreenHandler.PotionSlot

java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.screen.BrewingScreenHandler.PotionSlot
Enclosing class:
BrewingScreenHandler

static class BrewingScreenHandler.PotionSlot extends Slot
Mappings:
Namespace Name
official afu$c
intermediary net/minecraft/class_1003$class_1005
named net/minecraft/screen/BrewingScreenHandler$PotionSlot
  • Constructor Details

    • PotionSlot

      public PotionSlot(Inventory inventory, int invSlot, int xPosition, int yPosition)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lagr;<init>(Ltv;III)V
      intermediary <init> Lnet/minecraft/class_1026;<init>(Lnet/minecraft/class_849;III)V
      named <init> Lnet/minecraft/inventory/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
  • Method Details

    • canInsert

      public boolean canInsert(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(Laip;)Z
      intermediary method_3294 Lnet/minecraft/class_1026;method_3294(Lnet/minecraft/class_1071;)Z
      named canInsert Lnet/minecraft/inventory/slot/Slot;canInsert(Lnet/minecraft/item/ItemStack;)Z
    • getMaxStackAmount

      public int getMaxStackAmount()
      Overrides:
      getMaxStackAmount in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a()I
      intermediary method_3291 Lnet/minecraft/class_1026;method_3291()I
      named getMaxStackAmount Lnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
    • method_3298

      public ItemStack method_3298(PlayerEntity playerEntity, ItemStack itemStack)
      Overrides:
      method_3298 in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lagr;a(Laed;Laip;)Laip;
      intermediary method_3298 Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;
      named method_3298 Lnet/minecraft/inventory/slot/Slot;method_3298(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • matches

      public static boolean matches(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c_ Lafu$c;c_(Laip;)Z
      intermediary method_6338 Lnet/minecraft/class_1003$class_1005;method_6338(Lnet/minecraft/class_1071;)Z
      named matches Lnet/minecraft/screen/BrewingScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z