Class PlayerScreenHandler

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

public class PlayerScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official ajb
intermediary net/minecraft/class_1018
named net/minecraft/screen/PlayerScreenHandler
  • Field Details

    • craftingInventory

      public CraftingInventory craftingInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lajb;a:Lain;
      intermediary field_4128 Lnet/minecraft/class_1018;field_4128:Lnet/minecraft/class_1011;
      named craftingInventory Lnet/minecraft/screen/PlayerScreenHandler;craftingInventory:Lnet/minecraft/inventory/CraftingInventory;
    • craftingResultInventory

      public Inventory craftingResultInventory
      Mappings:
      Namespace Name Mixin selector
      official f Lajb;f:Lvq;
      intermediary field_4129 Lnet/minecraft/class_1018;field_4129:Lnet/minecraft/class_849;
      named craftingResultInventory Lnet/minecraft/screen/PlayerScreenHandler;craftingResultInventory:Lnet/minecraft/inventory/Inventory;
    • onServer

      public boolean onServer
      Mappings:
      Namespace Name Mixin selector
      official g Lajb;g:Z
      intermediary field_4130 Lnet/minecraft/class_1018;field_4130:Z
      named onServer Lnet/minecraft/screen/PlayerScreenHandler;onServer:Z
    • owner

      private final PlayerEntity owner
      Mappings:
      Namespace Name Mixin selector
      official h Lajb;h:Lahd;
      intermediary field_5412 Lnet/minecraft/class_1018;field_5412:Lnet/minecraft/class_988;
      named owner Lnet/minecraft/screen/PlayerScreenHandler;owner:Lnet/minecraft/entity/player/PlayerEntity;
  • Constructor Details

    • PlayerScreenHandler

      public PlayerScreenHandler(PlayerInventory inventory, boolean onServer, PlayerEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajb;<init>(Lahb;ZLahd;)V
      intermediary <init> Lnet/minecraft/class_1018;<init>(Lnet/minecraft/class_987;ZLnet/minecraft/class_988;)V
      named <init> Lnet/minecraft/screen/PlayerScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;ZLnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • onContentChanged

      public void onContentChanged(Inventory inventory)
      Overrides:
      onContentChanged in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lvq;)V
      intermediary method_3254 Lnet/minecraft/class_1002;method_3254(Lnet/minecraft/class_849;)V
      named onContentChanged Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
    • close

      public void close(PlayerEntity player)
      Overrides:
      close in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official b Laib;b(Lahd;)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 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;
    • canInsertIntoSlot

      public boolean canInsertIntoSlot(ItemStack stack, Slot slot)
      Overrides:
      canInsertIntoSlot in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      official a Laib;a(Lamj;Lajk;)Z
      intermediary method_5449 Lnet/minecraft/class_1002;method_5449(Lnet/minecraft/class_1071;Lnet/minecraft/class_1026;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/inventory/slot/Slot;)Z