Class BeaconScreenHandler

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

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

    • paymentInventory

      private Inventory paymentInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lxl;a:Log;
      intermediary field_8460 Lnet/minecraft/class_1986;field_8460:Lnet/minecraft/class_1718;
      named paymentInventory Lnet/minecraft/screen/BeaconScreenHandler;paymentInventory:Lnet/minecraft/inventory/Inventory;
    • paymentSlot

      private final BeaconScreenHandler.PaymentSlot paymentSlot
      Mappings:
      Namespace Name Mixin selector
      official f Lxl;f:Lxl$a;
      intermediary field_8461 Lnet/minecraft/class_1986;field_8461:Lnet/minecraft/class_1986$class_1987;
      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> Lxl;<init>(Log;Log;)V
      intermediary <init> Lnet/minecraft/class_1986;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;)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 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
    • 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
    • getPaymentInventory

      public Inventory getPaymentInventory()
      Mappings:
      Namespace Name Mixin selector
      official e Lxl;e()Log;
      intermediary method_8129 Lnet/minecraft/class_1986;method_8129()Lnet/minecraft/class_1718;
      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 Lxi;b(Lwn;)V
      intermediary method_8117 Lnet/minecraft/class_1983;method_8117(Lnet/minecraft/class_1963;)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 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;