Class BrewingScreenHandler

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

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

    • inventory

      private final Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lapy;a:Lade;
      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 Lapy;f:Laqx;
      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 Lapy;g:I
      intermediary field_4094 Lnet/minecraft/class_1003;field_4094:I
      named field_4094 Lnet/minecraft/screen/BrewingScreenHandler;field_4094:I
    • field_12262

      private int field_12262
      Mappings:
      Namespace Name Mixin selector
      official h Lapy;h:I
      intermediary field_12262 Lnet/minecraft/class_1003;field_12262:I
      named field_12262 Lnet/minecraft/screen/BrewingScreenHandler;field_12262:I
  • Constructor Details

    • BrewingScreenHandler

      public BrewingScreenHandler(PlayerInventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lapy;<init>(Laof;Lade;)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 Lapv;a(Laqb;)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 Lapv;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 Lapv;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 Lapv;a(Laog;)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 Lapv;b(Laog;I)Late;
      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;