Class TileEntityChest

java.lang.Object
net.minecraft.tileentity.TileEntityBase
net.minecraft.tileentity.TileEntityChest
All Implemented Interfaces:
InventoryBase

public class TileEntityChest extends TileEntityBase implements InventoryBase
Mappings:
Namespace Name
intermediary net/minecraft/class_225
glue class_244
server gk
client js
named net/minecraft/tileentity/TileEntityChest
  • Field Details

    • contents

      private ItemInstance[] contents
      Mappings:
      Namespace Name Mixin selector
      intermediary field_846 Lnet/minecraft/class_225;field_846:[Lnet/minecraft/class_31;
      glue field_1044 Lclass_244;field_1044:[Lclass_224;
      server a Lgk;a:[Lfy;
      client a Ljs;a:[Liz;
      named contents Lnet/minecraft/tileentity/TileEntityChest;contents:[Lnet/minecraft/item/ItemInstance;
  • Constructor Details

    • TileEntityChest

      public TileEntityChest()
  • Method Details

    • getInventorySize

      public int getInventorySize()
      Specified by:
      getInventorySize in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_948 Lnet/minecraft/class_134;method_948()I
      glue method_49 Lclass_287;method_49()I
      server a Lhp;a()I
      client a Llw;a()I
      named getInventorySize Lnet/minecraft/inventory/InventoryBase;getInventorySize()I
    • getInventoryItem

      public ItemInstance getInventoryItem(int index)
      Specified by:
      getInventoryItem in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_954 Lnet/minecraft/class_134;method_954(I)Lnet/minecraft/class_31;
      glue method_58 Lclass_287;method_58(I)Lclass_224;
      server d_ Lhp;d_(I)Lfy;
      client f_ Llw;f_(I)Liz;
      named getInventoryItem Lnet/minecraft/inventory/InventoryBase;getInventoryItem(I)Lnet/minecraft/item/ItemInstance;
    • takeInventoryItem

      public ItemInstance takeInventoryItem(int index, int count)
      Specified by:
      takeInventoryItem in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_949 Lnet/minecraft/class_134;method_949(II)Lnet/minecraft/class_31;
      glue method_50 Lclass_287;method_50(II)Lclass_224;
      server a Lhp;a(II)Lfy;
      client a Llw;a(II)Liz;
      named takeInventoryItem Lnet/minecraft/inventory/InventoryBase;takeInventoryItem(II)Lnet/minecraft/item/ItemInstance;
    • setInventoryItem

      public void setInventoryItem(int slot, ItemInstance stack)
      Specified by:
      setInventoryItem in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_950 Lnet/minecraft/class_134;method_950(ILnet/minecraft/class_31;)V
      glue method_51 Lclass_287;method_51(ILclass_224;)V
      server a Lhp;a(ILfy;)V
      client a Llw;a(ILiz;)V
      named setInventoryItem Lnet/minecraft/inventory/InventoryBase;setInventoryItem(ILnet/minecraft/item/ItemInstance;)V
    • getContainerName

      public String getContainerName()
      Specified by:
      getContainerName in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_952 Lnet/minecraft/class_134;method_952()Ljava/lang/String;
      glue method_56 Lclass_287;method_56()Ljava/lang/String;
      server c Lhp;c()Ljava/lang/String;
      client c Llw;c()Ljava/lang/String;
      named getContainerName Lnet/minecraft/inventory/InventoryBase;getContainerName()Ljava/lang/String;
    • readIdentifyingData

      public void readIdentifyingData(CompoundTag tag)
      Overrides:
      readIdentifyingData in class TileEntityBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1077 Lnet/minecraft/class_55;method_1077(Lnet/minecraft/class_8;)V
      glue method_52 Lclass_356;method_52(Lclass_333;)V
      server a Ljh;a(Liq;)V
      client a Low;a(Lnu;)V
      named readIdentifyingData Lnet/minecraft/tileentity/TileEntityBase;readIdentifyingData(Lnet/minecraft/util/io/CompoundTag;)V
    • writeIdentifyingData

      public void writeIdentifyingData(CompoundTag tag)
      Overrides:
      writeIdentifyingData in class TileEntityBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1078 Lnet/minecraft/class_55;method_1078(Lnet/minecraft/class_8;)V
      glue method_55 Lclass_356;method_55(Lclass_333;)V
      server b Ljh;b(Liq;)V
      client b Low;b(Lnu;)V
      named writeIdentifyingData Lnet/minecraft/tileentity/TileEntityBase;writeIdentifyingData(Lnet/minecraft/util/io/CompoundTag;)V
    • getMaxItemCount

      public int getMaxItemCount()
      Specified by:
      getMaxItemCount in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_953 Lnet/minecraft/class_134;method_953()I
      glue method_57 Lclass_287;method_57()I
      server d Lhp;d()I
      client d Llw;d()I
      named getMaxItemCount Lnet/minecraft/inventory/InventoryBase;getMaxItemCount()I
    • canPlayerUse

      public boolean canPlayerUse(PlayerBase player)
      Specified by:
      canPlayerUse in interface InventoryBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_951 Lnet/minecraft/class_134;method_951(Lnet/minecraft/class_54;)Z
      glue method_53 Lclass_287;method_53(Lclass_172;)Z
      server a_ Lhp;a_(Lem;)Z
      client a_ Llw;a_(Lgs;)Z
      named canPlayerUse Lnet/minecraft/inventory/InventoryBase;canPlayerUse(Lnet/minecraft/entity/player/PlayerBase;)Z