Class BrewingScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler

public class BrewingScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official aii
intermediary net/minecraft/class_1003
named net/minecraft/screen/BrewingScreenHandler
  • Field Details

    • inventory

      private Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Laii;a:Lvq;
      intermediary field_12141 Lnet/minecraft/class_1003;field_12141:Lnet/minecraft/class_849;
      named inventory Lnet/minecraft/screen/BrewingScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • ingredientSlot

      private final Slot ingredientSlot
      Mappings:
      Namespace Name Mixin selector
      official f Laii;f:Lajk;
      intermediary field_4093 Lnet/minecraft/class_1003;field_4093:Lnet/minecraft/class_1026;
      named ingredientSlot Lnet/minecraft/screen/BrewingScreenHandler;ingredientSlot:Lnet/minecraft/inventory/slot/Slot;
    • field_4094

      private int field_4094
      Mappings:
      Namespace Name Mixin selector
      official g Laii;g:I
      intermediary field_4094 Lnet/minecraft/class_1003;field_4094:I
      named field_4094 Lnet/minecraft/screen/BrewingScreenHandler;field_4094:I
  • Constructor Details

    • BrewingScreenHandler

      public BrewingScreenHandler(PlayerInventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laii;<init>(Lahb;Lvq;)V
      intermediary <init> Lnet/minecraft/class_1003;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_849;)V
      named <init> Lnet/minecraft/screen/BrewingScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;)V
  • Method Details

    • addListener

      public void addListener(ScreenHandlerListener listener)
      Overrides:
      addListener in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lail;)V
      intermediary method_3260 Lnet/minecraft/class_1002;method_3260(Lnet/minecraft/class_1006;)V
      named addListener Lnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
    • sendContentUpdates

      public void sendContentUpdates()
      Sends updates to listeners if any properties or slot stacks have changed.
      Overrides:
      sendContentUpdates in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b()V
      intermediary method_3264 Lnet/minecraft/class_1002;method_3264()V
      named sendContentUpdates Lnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
    • setProperty

      @Environment(CLIENT) public void setProperty(int id, int value)
      Overrides:
      setProperty in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b(II)V
      intermediary method_3266 Lnet/minecraft/class_1002;method_3266(II)V
      named setProperty Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
    • canUse

      public boolean canUse(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lahd;)Z
      intermediary method_3269 Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • transferSlot

      public ItemStack transferSlot(PlayerEntity player, int invSlot)
      Overrides:
      transferSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b(Lahd;I)Lamj;
      intermediary method_3265 Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;