Class PlayerScreenHandler

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

public class PlayerScreenHandler extends ScreenHandler
Mappings:
Namespace Name
intermediary net/minecraft/class_277
glue class_3
server o
client aa
named net/minecraft/screen/PlayerScreenHandler
  • Field Details

    • craftingInput

      public CraftingInventory craftingInput
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1124 Lnet/minecraft/class_277;field_1124:Lnet/minecraft/class_159;
      glue field_4 Lclass_3;field_4:Lclass_305;
      server a Lo;a:Lhz;
      client a Laa;a:Lmq;
      named craftingInput Lnet/minecraft/screen/PlayerScreenHandler;craftingInput:Lnet/minecraft/inventory/CraftingInventory;
    • craftingResult

      public Inventory craftingResult
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1125 Lnet/minecraft/class_277;field_1125:Lnet/minecraft/class_134;
      glue field_5 Lclass_3;field_5:Lclass_287;
      server b Lo;b:Lhp;
      client b Laa;b:Llw;
      named craftingResult Lnet/minecraft/screen/PlayerScreenHandler;craftingResult:Lnet/minecraft/inventory/Inventory;
    • isLocal

      public boolean isLocal
      Determines if the world is local Will be true on Client in Singleplayer and on Server in Multiplayer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1126 Lnet/minecraft/class_277;field_1126:Z
      glue field_6 Lclass_3;field_6:Z
      server c Lo;c:Z
      client c Laa;c:Z
      named isLocal Lnet/minecraft/screen/PlayerScreenHandler;isLocal:Z
  • Constructor Details

    • PlayerScreenHandler

      public PlayerScreenHandler(PlayerInventory inventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;)V
      glue <init> Lclass_3;<init>(Lclass_223;)V
      server <init> Lo;<init>(Lfx;)V
      client <init> Laa;<init>(Lix;)V
      named <init> Lnet/minecraft/screen/PlayerScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;)V
    • PlayerScreenHandler

      public PlayerScreenHandler(PlayerInventory inventory, boolean isLocal)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_277;<init>(Lnet/minecraft/class_136;Z)V
      glue <init> Lclass_3;<init>(Lclass_223;Z)V
      server <init> Lo;<init>(Lfx;Z)V
      client <init> Laa;<init>(Lix;Z)V
      named <init> Lnet/minecraft/screen/PlayerScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Z)V
  • Method Details

    • onSlotUpdate

      public void onSlotUpdate(Inventory inventory)
      Overrides:
      onSlotUpdate in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2088 Lnet/minecraft/class_71;method_2088(Lnet/minecraft/class_134;)V
      glue method_7 Lclass_94;method_7(Lclass_287;)V
      server a Lcl;a(Lhp;)V
      client a Ldw;a(Llw;)V
      named onSlotUpdate Lnet/minecraft/screen/ScreenHandler;onSlotUpdate(Lnet/minecraft/inventory/Inventory;)V
    • onClosed

      public void onClosed(PlayerEntity player)
      Overrides:
      onClosed in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2087 Lnet/minecraft/class_71;method_2087(Lnet/minecraft/class_54;)V
      glue method_6 Lclass_94;method_6(Lclass_172;)V
      server a Lcl;a(Lem;)V
      client a Ldw;a(Lgs;)V
      named onClosed Lnet/minecraft/screen/ScreenHandler;onClosed(Lnet/minecraft/entity/player/PlayerEntity;)V
    • canUse

      public boolean canUse(PlayerEntity player)
      Specified by:
      canUse in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2094 Lnet/minecraft/class_71;method_2094(Lnet/minecraft/class_54;)Z
      glue method_8 Lclass_94;method_8(Lclass_172;)Z
      server b Lcl;b(Lem;)Z
      client b Ldw;b(Lgs;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • quickMove

      public ItemStack quickMove(int slot)
      Overrides:
      quickMove in class ScreenHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2086 Lnet/minecraft/class_71;method_2086(I)Lnet/minecraft/class_31;
      glue method_5 Lclass_94;method_5(I)Lclass_224;
      server a Lcl;a(I)Lfy;
      client a Ldw;a(I)Liz;
      named quickMove Lnet/minecraft/screen/ScreenHandler;quickMove(I)Lnet/minecraft/item/ItemStack;