Class BrewingStandScreenHandler.PotionSlot

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

private static class BrewingStandScreenHandler.PotionSlot extends Slot
Mappings:
Namespace Name
official bpv$c
intermediary net/minecraft/class_1708$class_1711
named net/minecraft/screen/BrewingStandScreenHandler$PotionSlot
  • Constructor Details

    • PotionSlot

      public PotionSlot(Inventory inventory, int index, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbrh;<init>(Lavc;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

      public boolean canInsert(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lbrh;a(Lbtx;)Z
      intermediary method_7680 Lnet/minecraft/class_1735;method_7680(Lnet/minecraft/class_1799;)Z
      named canInsert Lnet/minecraft/screen/slot/Slot;canInsert(Lnet/minecraft/item/ItemStack;)Z
    • getMaxItemCount

      public int getMaxItemCount()
      Overrides:
      getMaxItemCount in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lbrh;a()I
      intermediary method_7675 Lnet/minecraft/class_1735;method_7675()I
      named getMaxItemCount Lnet/minecraft/screen/slot/Slot;getMaxItemCount()I
    • onTakeItem

      public void onTakeItem(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lbrh;a(Lbnk;Lbtx;)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

      public static boolean matches(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpv$c;b(Lbtx;)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