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 csk$c
  • Constructor Details Link icon

    • PotionSlot Link icon

      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> Lcua;<init>(Lbse;III)V
  • Method Details Link icon

    • canInsert Link icon

      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 Lcua;a(Lcwq;)Z
    • getMaxItemCount Link icon

      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 Lcua;a()I
    • onTakeItem Link icon

      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 Lcua;a(Lcoy;Lcwq;)V
    • matches Link icon

      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 Lcsk$c;b(Lcwq;)Z
    • getBackgroundSprite Link icon

      public Identifier getBackgroundSprite()
      Overrides:
      getBackgroundSprite in class Slot
      Mappings:
      Namespace Name Mixin selector
      named getBackgroundSprite Lnet/minecraft/screen/slot/Slot;getBackgroundSprite()Lnet/minecraft/util/Identifier;
      intermediary method_7679 Lnet/minecraft/class_1735;method_7679()Lnet/minecraft/class_2960;
      official b Lcua;b()Lakv;