Class NbtLongArray

java.lang.Object
net.minecraft.nbt.NbtElement
net.minecraft.nbt.NbtLongArray

public class NbtLongArray extends NbtElement
Mappings:
Namespace Name
official gf
intermediary net/minecraft/class_3323
named net/minecraft/nbt/NbtLongArray
  • Field Details

    • value

      private long[] value
      Mappings:
      Namespace Name Mixin selector
      official b Lgf;b:[J
      intermediary field_16245 Lnet/minecraft/class_3323;field_16245:[J
      named value Lnet/minecraft/nbt/NbtLongArray;value:[J
  • Constructor Details

    • NbtLongArray

      NbtLongArray()
    • NbtLongArray

      public NbtLongArray(long[] value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgf;<init>([J)V
      intermediary <init> Lnet/minecraft/class_3323;<init>([J)V
      named <init> Lnet/minecraft/nbt/NbtLongArray;<init>([J)V
    • NbtLongArray

      public NbtLongArray(List<Long> value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgf;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_3323;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/nbt/NbtLongArray;<init>(Ljava/util/List;)V
  • Method Details

    • toArray

      private static long[] toArray(List<Long> value)
      Mappings:
      Namespace Name Mixin selector
      official a Lgf;a(Ljava/util/List;)[J
      intermediary method_14751 Lnet/minecraft/class_3323;method_14751(Ljava/util/List;)[J
      named toArray Lnet/minecraft/nbt/NbtLongArray;toArray(Ljava/util/List;)[J
    • write

      void write(DataOutput output) throws IOException
      Specified by:
      write in class NbtElement
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;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 Lgn;a(Ljava/io/DataInput;ILgh;)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 Lgn;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 Lgn;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_605;toString()Ljava/lang/String;
      named toString Lnet/minecraft/nbt/NbtElement;toString()Ljava/lang/String;
    • copy

      public NbtLongArray copy()
      Specified by:
      copy in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official c Lgf;c()Lgf;
      intermediary method_14752 Lnet/minecraft/class_3323;method_14752()Lnet/minecraft/class_3323;
      named copy Lnet/minecraft/nbt/NbtLongArray;copy()Lnet/minecraft/nbt/NbtLongArray;
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official equals Lgn;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 Lgn;hashCode()I
      intermediary hashCode Lnet/minecraft/class_605;hashCode()I
      named hashCode Lnet/minecraft/nbt/NbtElement;hashCode()I