Interface Inventory

All Known Implementing Classes:
class_159, class_225, class_275, class_320, class_507, class_549, DispenserBlockEntity, FurnaceBlockEntity, PlayerInventory

public interface Inventory
Mappings:
Namespace Name
intermediary net/minecraft/class_134
glue class_287
server hp
client lw
named net/minecraft/inventory/Inventory
  • Method Details

    • size

      int size()
      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

      ItemStack getStack(int slot)
      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;
    • removeStack

      ItemStack removeStack(int slot, int amount)
      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

      void setStack(int slot, ItemStack stack)
      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
    • getName

      String getName()
      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;
    • getMaxCountPerStack

      int getMaxCountPerStack()
      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

      void markDirty()
      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

      boolean canPlayerUse(PlayerEntity player)
      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