Class GenericContainerScreenHandler

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

public class GenericContainerScreenHandler extends ScreenHandler
Mappings:
Namespace Name
intermediary net/minecraft/class_506
glue class_55
server bh
client cd
named net/minecraft/screen/GenericContainerScreenHandler
  • Field Details

    • inventory

      private Inventory inventory
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2110 Lnet/minecraft/class_506;field_2110:Lnet/minecraft/class_134;
      glue field_114 Lclass_55;field_114:Lclass_287;
      server a Lbh;a:Lhp;
      client a Lcd;a:Llw;
      named inventory Lnet/minecraft/screen/GenericContainerScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
    • rows

      private int rows
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2111 Lnet/minecraft/class_506;field_2111:I
      glue field_115 Lclass_55;field_115:I
      server b Lbh;b:I
      client b Lcd;b:I
      named rows Lnet/minecraft/screen/GenericContainerScreenHandler;rows:I
  • Constructor Details

    • GenericContainerScreenHandler

      public GenericContainerScreenHandler(Inventory playerInventory, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_506;<init>(Lnet/minecraft/class_134;Lnet/minecraft/class_134;)V
      glue <init> Lclass_55;<init>(Lclass_287;Lclass_287;)V
      server <init> Lbh;<init>(Lhp;Lhp;)V
      client <init> Lcd;<init>(Llw;Llw;)V
      named <init> Lnet/minecraft/screen/GenericContainerScreenHandler;<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
      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
    • getStackInSlot

      public ItemStack getStackInSlot(int slotIndex)
      Overrides:
      getStackInSlot 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 getStackInSlot Lnet/minecraft/screen/ScreenHandler;getStackInSlot(I)Lnet/minecraft/item/ItemStack;