Class ChestScreenHandler

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

public class ChestScreenHandler extends ScreenHandler
Mappings:
Namespace Name
official xo
intermediary net/minecraft/class_1008
named net/minecraft/screen/ChestScreenHandler
  • Field Details

    • inventory

      private Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lxo;a:Log;
      intermediary field_4097 Lnet/minecraft/class_1008;field_4097:Lnet/minecraft/class_849;
      named inventory Lnet/minecraft/screen/ChestScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • hieght

      private int hieght
      Mappings:
      Namespace Name Mixin selector
      official f Lxo;f:I
      intermediary field_4098 Lnet/minecraft/class_1008;field_4098:I
      named hieght Lnet/minecraft/screen/ChestScreenHandler;hieght:I
  • Constructor Details

    • ChestScreenHandler

      public ChestScreenHandler(Inventory inventory, Inventory playerInventory, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxo;<init>(Log;Log;Lwn;)V
      intermediary <init> Lnet/minecraft/class_1008;<init>(Lnet/minecraft/class_849;Lnet/minecraft/class_849;Lnet/minecraft/class_988;)V
      named <init> Lnet/minecraft/screen/ChestScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • 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_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 Lxi;b(Lwn;I)Lzx;
      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;
    • close

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

      public Inventory getInventory()
      Mappings:
      Namespace Name Mixin selector
      official e Lxo;e()Log;
      intermediary method_4591 Lnet/minecraft/class_1008;method_4591()Lnet/minecraft/class_849;
      named getInventory Lnet/minecraft/screen/ChestScreenHandler;getInventory()Lnet/minecraft/inventory/Inventory;