Class LongTag


public class LongTag
extends Tag.NumberTag
Mappings:
Namespace Name
official dv
intermediary net/minecraft/class_1412
named net/minecraft/nbt/LongTag
  • Field Details

    • value

      private long value
      Mappings:
      Namespace Name Mixin selector
      official b Ldv;b:J
      intermediary field_5920 Lnet/minecraft/class_1412;field_5920:J
      named value Lnet/minecraft/nbt/LongTag;value:J
  • Constructor Details

    • LongTag

      LongTag()
    • LongTag

      public LongTag​(long value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldv;<init>(J)V
      intermediary <init> Lnet/minecraft/class_1412;<init>(J)V
      named <init> Lnet/minecraft/nbt/LongTag;<init>(J)V
  • 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;
    • 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
    • getLong

      public long getLong()
      Specified by:
      getLong in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official c Leb$a;c()J
      intermediary method_5066 Lnet/minecraft/class_1419$class_1420;method_5066()J
      named getLong Lnet/minecraft/nbt/Tag$NumberTag;getLong()J
    • getInt

      public int getInt()
      Specified by:
      getInt in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official d Leb$a;d()I
      intermediary method_5067 Lnet/minecraft/class_1419$class_1420;method_5067()I
      named getInt Lnet/minecraft/nbt/Tag$NumberTag;getInt()I
    • getShort

      public short getShort()
      Specified by:
      getShort in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official e Leb$a;e()S
      intermediary method_5068 Lnet/minecraft/class_1419$class_1420;method_5068()S
      named getShort Lnet/minecraft/nbt/Tag$NumberTag;getShort()S
    • getByte

      public byte getByte()
      Specified by:
      getByte in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official f Leb$a;f()B
      intermediary method_5069 Lnet/minecraft/class_1419$class_1420;method_5069()B
      named getByte Lnet/minecraft/nbt/Tag$NumberTag;getByte()B
    • getDouble

      public double getDouble()
      Specified by:
      getDouble in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official g Leb$a;g()D
      intermediary method_5070 Lnet/minecraft/class_1419$class_1420;method_5070()D
      named getDouble Lnet/minecraft/nbt/Tag$NumberTag;getDouble()D
    • getFloat

      public float getFloat()
      Specified by:
      getFloat in class Tag.NumberTag
      Mappings:
      Namespace Name Mixin selector
      official h Leb$a;h()F
      intermediary method_5071 Lnet/minecraft/class_1419$class_1420;method_5071()F
      named getFloat Lnet/minecraft/nbt/Tag$NumberTag;getFloat()F