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 xm$b
intermediary net/minecraft/class_1988$class_1990
named net/minecraft/screen/BrewingScreenHandler$PotionSlot
  • Field Details

    • player

      private PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official a Lxm$b;a:Lwn;
      intermediary field_8467 Lnet/minecraft/class_1988$class_1990;field_8467:Lnet/minecraft/class_1963;
      named player Lnet/minecraft/screen/BrewingScreenHandler$PotionSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • PotionSlot

      public PotionSlot​(PlayerEntity player, Inventory inventory, int invSlot, int xPosition, int yPosition)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxm$b;<init>(Lwn;Log;III)V
      intermediary <init> Lnet/minecraft/class_1988$class_1990;<init>(Lnet/minecraft/class_1963;Lnet/minecraft/class_1718;III)V
      named <init> Lnet/minecraft/screen/BrewingScreenHandler$PotionSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;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 Lyg;a(Lzx;)Z
      intermediary method_8158 Lnet/minecraft/class_2010;method_8158(Lnet/minecraft/class_2056;)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 Lyg;a()I
      intermediary method_8153 Lnet/minecraft/class_2010;method_8153()I
      named getMaxStackAmount Lnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
    • onTakeItem

      public void onTakeItem​(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lyg;a(Lwn;Lzx;)V
      intermediary method_8157 Lnet/minecraft/class_2010;method_8157(Lnet/minecraft/class_1963;Lnet/minecraft/class_2056;)V
      named onTakeItem Lnet/minecraft/inventory/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_ Lxm$b;b_(Lzx;)Z
      intermediary method_8130 Lnet/minecraft/class_1988$class_1990;method_8130(Lnet/minecraft/class_2056;)Z
      named matches Lnet/minecraft/screen/BrewingScreenHandler$PotionSlot;matches(Lnet/minecraft/item/ItemStack;)Z