Class DoubleInventory

java.lang.Object
net.minecraft.inventory.DoubleInventory
All Implemented Interfaces:
Inventory

public class DoubleInventory extends Object implements Inventory
Mappings:
Namespace Name
intermediary net/minecraft/class_320
glue class_342
server iy
client og
named net/minecraft/inventory/DoubleInventory
  • Field Details

    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1215 Lnet/minecraft/class_320;field_1215:Ljava/lang/String;
      glue field_1406 Lclass_342;field_1406:Ljava/lang/String;
      server a Liy;a:Ljava/lang/String;
      client a Log;a:Ljava/lang/String;
      named name Lnet/minecraft/inventory/DoubleInventory;name:Ljava/lang/String;
    • first

      private Inventory first
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1216 Lnet/minecraft/class_320;field_1216:Lnet/minecraft/class_134;
      glue field_1407 Lclass_342;field_1407:Lclass_287;
      server b Liy;b:Lhp;
      client b Log;b:Llw;
      named first Lnet/minecraft/inventory/DoubleInventory;first:Lnet/minecraft/inventory/Inventory;
    • second

      private Inventory second
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1217 Lnet/minecraft/class_320;field_1217:Lnet/minecraft/class_134;
      glue field_1408 Lclass_342;field_1408:Lclass_287;
      server c Liy;c:Lhp;
      client c Log;c:Llw;
      named second Lnet/minecraft/inventory/DoubleInventory;second:Lnet/minecraft/inventory/Inventory;
  • Constructor Details

    • DoubleInventory

      public DoubleInventory(String name, Inventory first, Inventory second)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_320;<init>(Ljava/lang/String;Lnet/minecraft/class_134;Lnet/minecraft/class_134;)V
      glue <init> Lclass_342;<init>(Ljava/lang/String;Lclass_287;Lclass_287;)V
      server <init> Liy;<init>(Ljava/lang/String;Lhp;Lhp;)V
      client <init> Log;<init>(Ljava/lang/String;Llw;Llw;)V
      named <init> Lnet/minecraft/inventory/DoubleInventory;<init>(Ljava/lang/String;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/inventory/Inventory;)V
  • 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
    • 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;
    • 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;
    • 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