Class NbtList


public class NbtList extends NbtElement
Mappings:
Namespace Name
official dp
intermediary net/minecraft/class_474
named net/minecraft/nbt/NbtList
  • Field Details

    • value

      private List value
      Mappings:
      Namespace Name Mixin selector
      official b Ldp;b:Ljava/util/List;
      intermediary field_1636 Lnet/minecraft/class_474;field_1636:Ljava/util/List;
      named value Lnet/minecraft/nbt/NbtList;value:Ljava/util/List;
    • type

      private byte type
      Mappings:
      Namespace Name Mixin selector
      official c Ldp;c:B
      intermediary field_1637 Lnet/minecraft/class_474;field_1637:B
      named type Lnet/minecraft/nbt/NbtList;type:B
  • Constructor Details

    • NbtList

      public NbtList()
  • Method Details

    • write

      void write(DataOutput output)
      Specified by:
      write in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a(Ljava/io/DataOutput;)V
      intermediary method_1650 Lnet/minecraft/class_605;method_1650(Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/NbtElement;write(Ljava/io/DataOutput;)V
    • read

      void read(DataInput input, int depth)
      Specified by:
      read in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a(Ljava/io/DataInput;I)V
      intermediary method_1649 Lnet/minecraft/class_605;method_1649(Ljava/io/DataInput;I)V
      named read Lnet/minecraft/nbt/NbtElement;read(Ljava/io/DataInput;I)V
    • getType

      public byte getType()
      Specified by:
      getType in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a()B
      intermediary method_1645 Lnet/minecraft/class_605;method_1645()B
      named getType Lnet/minecraft/nbt/NbtElement;getType()B
    • toString

      public String toString()
      Specified by:
      toString in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official toString Ldu;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_605;toString()Ljava/lang/String;
      named toString Lnet/minecraft/nbt/NbtElement;toString()Ljava/lang/String;
    • add

      public void add(NbtElement nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldp;a(Ldu;)V
      intermediary method_7351 Lnet/minecraft/class_474;method_7351(Lnet/minecraft/class_605;)V
      named add Lnet/minecraft/nbt/NbtList;add(Lnet/minecraft/nbt/NbtElement;)V
    • set

      @Environment(CLIENT) public void set(int id, NbtElement nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldp;a(ILdu;)V
      intermediary method_7350 Lnet/minecraft/class_474;method_7350(ILnet/minecraft/class_605;)V
      named set Lnet/minecraft/nbt/NbtList;set(ILnet/minecraft/nbt/NbtElement;)V
    • remove

      @Environment(CLIENT) public NbtElement remove(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldp;a(I)Ldu;
      intermediary method_1216 Lnet/minecraft/class_474;method_1216(I)Lnet/minecraft/class_605;
      named remove Lnet/minecraft/nbt/NbtList;remove(I)Lnet/minecraft/nbt/NbtElement;
    • getCompound

      public NbtCompound getCompound(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ldp;b(I)Ldg;
      intermediary method_7352 Lnet/minecraft/class_474;method_7352(I)Lnet/minecraft/class_322;
      named getCompound Lnet/minecraft/nbt/NbtList;getCompound(I)Lnet/minecraft/nbt/NbtCompound;
    • getIntArray

      public int[] getIntArray(int index)
      Mappings:
      Namespace Name Mixin selector
      official c Ldp;c(I)[I
      intermediary method_7353 Lnet/minecraft/class_474;method_7353(I)[I
      named getIntArray Lnet/minecraft/nbt/NbtList;getIntArray(I)[I
    • getDouble

      public double getDouble(int index)
      Mappings:
      Namespace Name Mixin selector
      official d Ldp;d(I)D
      intermediary method_7355 Lnet/minecraft/class_474;method_7355(I)D
      named getDouble Lnet/minecraft/nbt/NbtList;getDouble(I)D
    • getFloat

      public float getFloat(int index)
      Mappings:
      Namespace Name Mixin selector
      official e Ldp;e(I)F
      intermediary method_7356 Lnet/minecraft/class_474;method_7356(I)F
      named getFloat Lnet/minecraft/nbt/NbtList;getFloat(I)F
    • getString

      public String getString(int index)
      Mappings:
      Namespace Name Mixin selector
      official f Ldp;f(I)Ljava/lang/String;
      intermediary method_7357 Lnet/minecraft/class_474;method_7357(I)Ljava/lang/String;
      named getString Lnet/minecraft/nbt/NbtList;getString(I)Ljava/lang/String;
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official c Ldp;c()I
      intermediary method_1219 Lnet/minecraft/class_474;method_1219()I
      named size Lnet/minecraft/nbt/NbtList;size()I
    • copy

      public NbtElement copy()
      Specified by:
      copy in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official b Ldu;b()Ldu;
      intermediary method_1651 Lnet/minecraft/class_605;method_1651()Lnet/minecraft/class_605;
      named copy Lnet/minecraft/nbt/NbtElement;copy()Lnet/minecraft/nbt/NbtElement;
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official equals Ldu;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_605;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/nbt/NbtElement;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official hashCode Ldu;hashCode()I
      intermediary hashCode Lnet/minecraft/class_605;hashCode()I
      named hashCode Lnet/minecraft/nbt/NbtElement;hashCode()I
    • getElementType

      public int getElementType()
      Mappings:
      Namespace Name Mixin selector
      official d Ldp;d()I
      intermediary method_7354 Lnet/minecraft/class_474;method_7354()I
      named getElementType Lnet/minecraft/nbt/NbtList;getElementType()I