Class Generic3x3ScreenHandler

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

public class Generic3x3ScreenHandler
extends ScreenHandler
Mappings:
Namespace Name
official xr
intermediary net/minecraft/class_1995
named net/minecraft/screen/Generic3x3ScreenHandler
  • Field Details

    • inventory

      private Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lxr;a:Log;
      intermediary field_8478 Lnet/minecraft/class_1995;field_8478:Lnet/minecraft/class_1718;
      named inventory Lnet/minecraft/screen/Generic3x3ScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
  • Constructor Details

    • Generic3x3ScreenHandler

      public Generic3x3ScreenHandler​(Inventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxr;<init>(Log;Log;)V
      intermediary <init> Lnet/minecraft/class_1995;<init>(Lnet/minecraft/class_1718;Lnet/minecraft/class_1718;)V
      named <init> Lnet/minecraft/screen/Generic3x3ScreenHandler;<init>(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;)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_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;