Class Chest


public class Chest extends ContainerBase
Mappings:
Namespace Name
intermediary net/minecraft/class_506
glue class_55
server bh
client cd
named net/minecraft/container/Chest
  • Field Details

    • chestInventory

      private InventoryBase chestInventory
      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 chestInventory Lnet/minecraft/container/Chest;chestInventory:Lnet/minecraft/inventory/InventoryBase;
    • 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/container/Chest;rows:I
  • Constructor Details

    • Chest

      public Chest(InventoryBase playerInventory, InventoryBase chestInventory)
      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/container/Chest;<init>(Lnet/minecraft/inventory/InventoryBase;Lnet/minecraft/inventory/InventoryBase;)V
  • Method Details

    • canUse

      public boolean canUse(PlayerBase player)
      Specified by:
      canUse in class ContainerBase
      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/container/ContainerBase;canUse(Lnet/minecraft/entity/player/PlayerBase;)Z
    • transferSlot

      public ItemInstance transferSlot(int slotIndex)
      Overrides:
      transferSlot in class ContainerBase
      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 transferSlot Lnet/minecraft/container/ContainerBase;transferSlot(I)Lnet/minecraft/item/ItemInstance;