Class BrewingScreenHandler

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

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

    • inventory

      private Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lxm;a:Log;
      intermediary field_8463 Lnet/minecraft/class_1988;field_8463:Lnet/minecraft/class_1718;
      named inventory Lnet/minecraft/screen/BrewingScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • ingredientSlot

      private final Slot ingredientSlot
      Mappings:
      Namespace Name Mixin selector
      official f Lxm;f:Lyg;
      intermediary field_8464 Lnet/minecraft/class_1988;field_8464:Lnet/minecraft/class_2010;
      named ingredientSlot Lnet/minecraft/screen/BrewingScreenHandler;ingredientSlot:Lnet/minecraft/inventory/slot/Slot;
    • field_8465

      private int field_8465
      Mappings:
      Namespace Name Mixin selector
      official g Lxm;g:I
      intermediary field_8465 Lnet/minecraft/class_1988;field_8465:I
      named field_8465 Lnet/minecraft/screen/BrewingScreenHandler;field_8465:I
  • Constructor Details

    • BrewingScreenHandler

      public BrewingScreenHandler​(PlayerInventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxm;<init>(Lwm;Log;)V
      intermediary <init> Lnet/minecraft/class_1988;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_1718;)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 Lxi;a(Lxn;)V
      intermediary method_8107 Lnet/minecraft/class_1983;method_8107(Lnet/minecraft/class_1991;)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 Lxi;b()V
      intermediary method_8113 Lnet/minecraft/class_1983;method_8113()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 Lxi;b(II)V
      intermediary method_8115 Lnet/minecraft/class_1983;method_8115(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 Lxi;a(Lwn;)Z
      intermediary method_8104 Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)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 Lxi;b(Lwn;I)Lzx;
      intermediary method_8118 Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;