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 ceq$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> Lcgd;<init>(Lbgr;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 Lcgd;a(Lcjf;)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 Lcgd;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 Lcgd;a(Lcbu;Lcjf;)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 Lceq$c;b(Lcjf;)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