Package net.minecraft

Class class_159

java.lang.Object
net.minecraft.class_159
All Implemented Interfaces:
Inventory

public class class_159 extends Object implements Inventory
Mappings:
Namespace Name
intermediary net/minecraft/class_159
glue class_305
server hz
client mq
named net/minecraft/class_159
  • Field Details

    • field_1132

      private ItemStack[] field_1132
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1132 Lnet/minecraft/class_159;field_1132:[Lnet/minecraft/class_31;
      glue field_1326 Lclass_305;field_1326:[Lclass_224;
      server a Lhz;a:[Lfy;
      client a Lmq;a:[Liz;
      named field_1132 Lnet/minecraft/class_159;field_1132:[Lnet/minecraft/item/ItemStack;
    • field_1133

      private int field_1133
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1133 Lnet/minecraft/class_159;field_1133:I
      glue field_1327 Lclass_305;field_1327:I
      server b Lhz;b:I
      client b Lmq;b:I
      named field_1133 Lnet/minecraft/class_159;field_1133:I
    • field_1134

      private Container field_1134
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1134 Lnet/minecraft/class_159;field_1134:Lnet/minecraft/class_71;
      glue field_1328 Lclass_305;field_1328:Lclass_94;
      server c Lhz;c:Lcl;
      client c Lmq;c:Ldw;
      named field_1134 Lnet/minecraft/class_159;field_1134:Lnet/minecraft/inventory/Container;
  • Constructor Details

    • class_159

      public class_159(Container container, int int2, int int3)
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface Inventory
      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 size Lnet/minecraft/inventory/Inventory;size()I
    • getStack

      public ItemStack getStack(int slot)
      Specified by:
      getStack in interface Inventory
      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 getStack Lnet/minecraft/inventory/Inventory;getStack(I)Lnet/minecraft/item/ItemStack;
    • method_974

      public ItemStack method_974(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_974 Lnet/minecraft/class_159;method_974(II)Lnet/minecraft/class_31;
      glue method_1335 Lclass_305;method_1335(II)Lclass_224;
      server b Lhz;b(II)Lfy;
      client b Lmq;b(II)Liz;
      named method_974 Lnet/minecraft/class_159;method_974(II)Lnet/minecraft/item/ItemStack;
    • getName

      public String getName()
      Specified by:
      getName in interface Inventory
      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 getName Lnet/minecraft/inventory/Inventory;getName()Ljava/lang/String;
    • removeStack

      public ItemStack removeStack(int slot, int amount)
      Specified by:
      removeStack in interface Inventory
      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 removeStack Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
    • setStack

      public void setStack(int slot, ItemStack stack)
      Specified by:
      setStack in interface Inventory
      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 setStack Lnet/minecraft/inventory/Inventory;setStack(ILnet/minecraft/item/ItemStack;)V
    • getMaxCountPerStack

      public int getMaxCountPerStack()
      Specified by:
      getMaxCountPerStack in interface Inventory
      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 getMaxCountPerStack Lnet/minecraft/inventory/Inventory;getMaxCountPerStack()I
    • markDirty

      public void markDirty()
      Specified by:
      markDirty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      intermediary method_947 Lnet/minecraft/class_134;method_947()V
      glue method_1055 Lclass_287;method_1055()V
      server i Lhp;i()V
      client y_ Llw;y_()V
      named markDirty Lnet/minecraft/inventory/Inventory;markDirty()V
    • canPlayerUse

      public boolean canPlayerUse(PlayerEntity player)
      Specified by:
      canPlayerUse in interface Inventory
      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/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z