Class NbtLong

All Implemented Interfaces:
class_4373

public class NbtLong extends AbstractNbtNumber
Mappings:
Namespace Name
official hg
intermediary net/minecraft/class_501
named net/minecraft/nbt/NbtLong
  • Field Details

    • value

      private long value
      Mappings:
      Namespace Name Mixin selector
      official f Lhg;f:J
      intermediary field_1720 Lnet/minecraft/class_501;field_1720:J
      named value Lnet/minecraft/nbt/NbtLong;value:J
  • Constructor Details

    • NbtLong

      NbtLong()
    • NbtLong

      public NbtLong(long value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhg;<init>(J)V
      intermediary <init> Lnet/minecraft/class_501;<init>(J)V
      named <init> Lnet/minecraft/nbt/NbtLong;<init>(J)V
  • Method Details

    • method_1650

      public void method_1650(DataOutput dataOutput) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lho;a(Ljava/io/DataOutput;)V
      intermediary method_1650 Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)V
      named method_1650 Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)V
    • method_1649

      public void method_1649(DataInput dataInput, int int2, PositionTracker positionTracker) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lho;a(Ljava/io/DataInput;ILhh;)V
      intermediary method_1649 Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)V
      named method_1649 Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
    • method_1645

      public byte method_1645()
      Mappings:
      Namespace Name Mixin selector
      official a Lho;a()B
      intermediary method_1645 Lnet/minecraft/class_4373;method_1645()B
      named method_1645 Lnet/minecraft/class_4373;method_1645()B
    • toString

      public String toString()
      Specified by:
      toString in interface class_4373
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lho;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4373;toString()Ljava/lang/String;
      named toString Lnet/minecraft/class_4373;toString()Ljava/lang/String;
    • method_1651

      public NbtLong method_1651()
      Mappings:
      Namespace Name Mixin selector
      official c Lhg;c()Lhg;
      intermediary method_13477 Lnet/minecraft/class_501;method_13477()Lnet/minecraft/class_501;
      named method_1651 Lnet/minecraft/nbt/NbtLong;method_1651()Lnet/minecraft/nbt/NbtLong;
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lhg;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_501;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/nbt/NbtLong;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lhg;hashCode()I
      intermediary hashCode Lnet/minecraft/class_501;hashCode()I
      named hashCode Lnet/minecraft/nbt/NbtLong;hashCode()I
    • method_20146

      public Text method_20146(String string, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lho;a(Ljava/lang/String;I)Lij;
      intermediary method_20146 Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/class_1982;
      named method_20146 Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/text/Text;
    • longValue

      public long longValue()
      Gets the value as a 64-bit integer.
      Specified by:
      longValue in class AbstractNbtNumber
      Returns:
      the value as a long
      Mappings:
      Namespace Name Mixin selector
      official d Lhl;d()J
      intermediary method_7371 Lnet/minecraft/class_1947;method_7371()J
      named longValue Lnet/minecraft/nbt/AbstractNbtNumber;longValue()J
    • intValue

      public int intValue()
      Gets the value as a 32-bit integer.
      Specified by:
      intValue in class AbstractNbtNumber
      Returns:
      the value as an int
      Mappings:
      Namespace Name Mixin selector
      official e Lhl;e()I
      intermediary method_7372 Lnet/minecraft/class_1947;method_7372()I
      named intValue Lnet/minecraft/nbt/AbstractNbtNumber;intValue()I
    • shortValue

      public short shortValue()
      Gets the value as a 16-bit integer.
      Specified by:
      shortValue in class AbstractNbtNumber
      Returns:
      the value as a short
      Mappings:
      Namespace Name Mixin selector
      official f Lhl;f()S
      intermediary method_7373 Lnet/minecraft/class_1947;method_7373()S
      named shortValue Lnet/minecraft/nbt/AbstractNbtNumber;shortValue()S
    • byteValue

      public byte byteValue()
      Gets the value as an 8-bit integer.
      Specified by:
      byteValue in class AbstractNbtNumber
      Returns:
      the value as a byte
      Mappings:
      Namespace Name Mixin selector
      official g Lhl;g()B
      intermediary method_7374 Lnet/minecraft/class_1947;method_7374()B
      named byteValue Lnet/minecraft/nbt/AbstractNbtNumber;byteValue()B
    • doubleValue

      public double doubleValue()
      Gets the value as a 64-bit floating-point number.
      Specified by:
      doubleValue in class AbstractNbtNumber
      Returns:
      the value as a double
      Mappings:
      Namespace Name Mixin selector
      official h Lhl;h()D
      intermediary method_7375 Lnet/minecraft/class_1947;method_7375()D
      named doubleValue Lnet/minecraft/nbt/AbstractNbtNumber;doubleValue()D
    • floatValue

      public float floatValue()
      Gets the value as a 32-bit floating-point number.
      Specified by:
      floatValue in class AbstractNbtNumber
      Returns:
      the value as a float
      Mappings:
      Namespace Name Mixin selector
      official i Lhl;i()F
      intermediary method_7376 Lnet/minecraft/class_1947;method_7376()F
      named floatValue Lnet/minecraft/nbt/AbstractNbtNumber;floatValue()F
    • numberValue

      public Number numberValue()
      Gets the value as a generic number.
      Specified by:
      numberValue in class AbstractNbtNumber
      Returns:
      the value as a Number
      Mappings:
      Namespace Name Mixin selector
      official j Lhl;j()Ljava/lang/Number;
      intermediary method_20143 Lnet/minecraft/class_1947;method_20143()Ljava/lang/Number;
      named numberValue Lnet/minecraft/nbt/AbstractNbtNumber;numberValue()Ljava/lang/Number;