Class ListTag

java.lang.Object
net.minecraft.nbt.Tag
net.minecraft.nbt.ListTag

public class ListTag
extends Tag
Mappings:
Namespace Name
official du
intermediary net/minecraft/class_1411
named net/minecraft/nbt/ListTag
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldu;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_5917 Lnet/minecraft/class_1411;field_5917:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/nbt/ListTag;LOGGER:Lorg/apache/logging/log4j/Logger;
    • value

      private List<Tag> value
      Mappings:
      Namespace Name Mixin selector
      official c Ldu;c:Ljava/util/List;
      intermediary field_5918 Lnet/minecraft/class_1411;field_5918:Ljava/util/List;
      named value Lnet/minecraft/nbt/ListTag;value:Ljava/util/List;
    • type

      private byte type
      Mappings:
      Namespace Name Mixin selector
      official d Ldu;d:B
      intermediary field_5919 Lnet/minecraft/class_1411;field_5919:B
      named type Lnet/minecraft/nbt/ListTag;type:B
  • Constructor Details

    • ListTag

      public ListTag()
  • Method Details

    • write

      void write​(DataOutput output) throws IOException
      Specified by:
      write in class Tag
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataOutput;)V
      intermediary method_5062 Lnet/minecraft/class_1419;method_5062(Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
    • read

      void read​(DataInput input, int depth, PositionTracker tracker) throws IOException
      Specified by:
      read in class Tag
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataInput;ILdw;)V
      intermediary method_5061 Lnet/minecraft/class_1419;method_5061(Ljava/io/DataInput;ILnet/minecraft/class_1413;)V
      named read Lnet/minecraft/nbt/Tag;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
    • getType

      public byte getType()
      Specified by:
      getType in class Tag
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a()B
      intermediary method_5059 Lnet/minecraft/class_1419;method_5059()B
      named getType Lnet/minecraft/nbt/Tag;getType()B
    • toString

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

      public void add​(Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a(Leb;)V
      intermediary method_5035 Lnet/minecraft/class_1411;method_5035(Lnet/minecraft/class_1419;)V
      named add Lnet/minecraft/nbt/ListTag;add(Lnet/minecraft/nbt/Tag;)V
    • set

      public void set​(int id, Tag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a(ILeb;)V
      intermediary method_5034 Lnet/minecraft/class_1411;method_5034(ILnet/minecraft/class_1419;)V
      named set Lnet/minecraft/nbt/ListTag;set(ILnet/minecraft/nbt/Tag;)V
    • remove

      public Tag remove​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldu;a(I)Leb;
      intermediary method_5033 Lnet/minecraft/class_1411;method_5033(I)Lnet/minecraft/class_1419;
      named remove Lnet/minecraft/nbt/ListTag;remove(I)Lnet/minecraft/nbt/Tag;
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class Tag
      Mappings:
      Namespace Name Mixin selector
      official c_ Leb;c_()Z
      intermediary method_5065 Lnet/minecraft/class_1419;method_5065()Z
      named isEmpty Lnet/minecraft/nbt/Tag;isEmpty()Z
    • getCompound

      public CompoundTag getCompound​(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ldu;b(I)Ldn;
      intermediary method_5036 Lnet/minecraft/class_1411;method_5036(I)Lnet/minecraft/class_1405;
      named getCompound Lnet/minecraft/nbt/ListTag;getCompound(I)Lnet/minecraft/nbt/CompoundTag;
    • getIntArray

      public int[] getIntArray​(int index)
      Mappings:
      Namespace Name Mixin selector
      official c Ldu;c(I)[I
      intermediary method_5038 Lnet/minecraft/class_1411;method_5038(I)[I
      named getIntArray Lnet/minecraft/nbt/ListTag;getIntArray(I)[I
    • getDouble

      public double getDouble​(int index)
      Mappings:
      Namespace Name Mixin selector
      official d Ldu;d(I)D
      intermediary method_5039 Lnet/minecraft/class_1411;method_5039(I)D
      named getDouble Lnet/minecraft/nbt/ListTag;getDouble(I)D
    • getFloat

      public float getFloat​(int index)
      Mappings:
      Namespace Name Mixin selector
      official e Ldu;e(I)F
      intermediary method_5040 Lnet/minecraft/class_1411;method_5040(I)F
      named getFloat Lnet/minecraft/nbt/ListTag;getFloat(I)F
    • getString

      public String getString​(int index)
      Mappings:
      Namespace Name Mixin selector
      official f Ldu;f(I)Ljava/lang/String;
      intermediary method_5042 Lnet/minecraft/class_1411;method_5042(I)Ljava/lang/String;
      named getString Lnet/minecraft/nbt/ListTag;getString(I)Ljava/lang/String;
    • get

      public Tag get​(int index)
      Mappings:
      Namespace Name Mixin selector
      official g Ldu;g(I)Leb;
      intermediary method_5043 Lnet/minecraft/class_1411;method_5043(I)Lnet/minecraft/class_1419;
      named get Lnet/minecraft/nbt/ListTag;get(I)Lnet/minecraft/nbt/Tag;
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official c Ldu;c()I
      intermediary method_5037 Lnet/minecraft/class_1411;method_5037()I
      named size Lnet/minecraft/nbt/ListTag;size()I
    • copy

      public Tag copy()
      Specified by:
      copy in class Tag
      Mappings:
      Namespace Name Mixin selector
      official b Leb;b()Leb;
      intermediary method_5064 Lnet/minecraft/class_1419;method_5064()Lnet/minecraft/class_1419;
      named copy Lnet/minecraft/nbt/Tag;copy()Lnet/minecraft/nbt/Tag;
    • equals

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

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

      public int getElementType()
      Mappings:
      Namespace Name Mixin selector
      official f Ldu;f()I
      intermediary method_5041 Lnet/minecraft/class_1411;method_5041()I
      named getElementType Lnet/minecraft/nbt/ListTag;getElementType()I