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
named net/minecraft/screen/BrewingStandScreenHandler$PotionSlot
intermediary net/minecraft/class_1708$class_1711
official cqb$c
  • Constructor Details

    • PotionSlot

      public PotionSlot(Inventory inventory, int index, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/screen/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
      intermediary <init> Lnet/minecraft/class_1735;<init>(Lnet/minecraft/class_1263;III)V
      official <init> Lcrr;<init>(Lbqp;III)V
  • Method Details

    • canInsert

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

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

      public void onTakeItem(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      named onTakeItem Lnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_7667 Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      official a Lcrr;a(Lcmz;Lcur;)V
    • matches

      public static boolean matches(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named matches Lnet/minecraft/screen/BrewingStandScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_7631 Lnet/minecraft/class_1708$class_1711;method_7631(Lnet/minecraft/class_1799;)Z
      official b Lcqb$c;b(Lcur;)Z