Class BeaconScreenHandler

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

public class BeaconScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official apx
intermediary net/minecraft/class_1419
named net/minecraft/screen/BeaconScreenHandler
  • Field Details

    • paymentInventory

      private final Inventory paymentInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lapx;a:Lade;
      intermediary field_12140 Lnet/minecraft/class_1419;field_12140:Lnet/minecraft/class_849;
      named paymentInventory Lnet/minecraft/screen/BeaconScreenHandler;paymentInventory:Lnet/minecraft/inventory/Inventory;
    • paymentSlot

      private final BeaconScreenHandler.PaymentSlot paymentSlot
      Mappings:
      Namespace Name Mixin selector
      official f Lapx;f:Lapx$a;
      intermediary field_5407 Lnet/minecraft/class_1419;field_5407:Lnet/minecraft/class_1419$class_1420;
      named paymentSlot Lnet/minecraft/screen/BeaconScreenHandler;paymentSlot:Lnet/minecraft/screen/BeaconScreenHandler$PaymentSlot;
  • Constructor Details

    • BeaconScreenHandler

      public BeaconScreenHandler(Inventory playerInventory, Inventory paymentInventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lapx;<init>(Lade;Lade;)V
      intermediary <init> Lnet/minecraft/class_1419;<init>(Lnet/minecraft/class_849;Lnet/minecraft/class_849;)V
      named <init> Lnet/minecraft/screen/BeaconScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;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
    • 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
    • getPaymentInventory

      public Inventory getPaymentInventory()
      Mappings:
      Namespace Name Mixin selector
      official d Lapx;d()Lade;
      intermediary method_11257 Lnet/minecraft/class_1419;method_11257()Lnet/minecraft/class_849;
      named getPaymentInventory Lnet/minecraft/screen/BeaconScreenHandler;getPaymentInventory()Lnet/minecraft/inventory/Inventory;
    • close

      public void close(PlayerEntity player)
      Overrides:
      close in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Lapv;b(Laog;)V
      intermediary method_3257 Lnet/minecraft/class_1002;method_3257(Lnet/minecraft/class_988;)V
      named close Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)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;