Class NbtList


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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldw;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_11536 Lnet/minecraft/class_474;field_11536:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/nbt/NbtList;LOGGER:Lorg/apache/logging/log4j/Logger;
    • value

      private List<NbtElement> value
      Mappings:
      Namespace Name Mixin selector
      official c Ldw;c: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 d Ldw;d: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) throws IOException
      Specified by:
      write in class NbtElement
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Led;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, PositionTracker tracker) throws IOException
      Specified by:
      read in class NbtElement
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Led;a(Ljava/io/DataInput;ILdy;)V
      intermediary method_1649 Lnet/minecraft/class_605;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)V
      named read Lnet/minecraft/nbt/NbtElement;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
    • getType

      public byte getType()
      Specified by:
      getType in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a Led;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 Led;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 Ldw;a(Led;)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

      public void set(int id, NbtElement nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldw;a(ILed;)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

      public NbtElement remove(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldw;a(I)Led;
      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;
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official c_ Led;c_()Z
      intermediary method_4386 Lnet/minecraft/class_605;method_4386()Z
      named isEmpty Lnet/minecraft/nbt/NbtElement;isEmpty()Z
    • getCompound

      public NbtCompound getCompound(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ldw;b(I)Ldq;
      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;
    • getInt

      public int getInt(int index)
      Mappings:
      Namespace Name Mixin selector
      official c Ldw;c(I)I
      intermediary method_12590 Lnet/minecraft/class_474;method_12590(I)I
      named getInt Lnet/minecraft/nbt/NbtList;getInt(I)I
    • getIntArray

      public int[] getIntArray(int index)
      Mappings:
      Namespace Name Mixin selector
      official d Ldw;d(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 e Ldw;e(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 f Ldw;f(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 g Ldw;g(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;
    • get

      public NbtElement get(int index)
      Mappings:
      Namespace Name Mixin selector
      official h Ldw;h(I)Led;
      intermediary method_10576 Lnet/minecraft/class_474;method_10576(I)Lnet/minecraft/class_605;
      named get Lnet/minecraft/nbt/NbtList;get(I)Lnet/minecraft/nbt/NbtElement;
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official c Ldw;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 Led;b()Led;
      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 Led;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 Led;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 Ldw;d()I
      intermediary method_7354 Lnet/minecraft/class_474;method_7354()I
      named getElementType Lnet/minecraft/nbt/NbtList;getElementType()I