Class NbtDouble


public class NbtDouble extends NbtElement.AbstractNbtNumber
Mappings:
Namespace Name
official dr
intermediary net/minecraft/class_348
named net/minecraft/nbt/NbtDouble
  • Field Details

    • value

      private double value
      Mappings:
      Namespace Name Mixin selector
      official b Ldr;b:D
      intermediary field_996 Lnet/minecraft/class_348;field_996:D
      named value Lnet/minecraft/nbt/NbtDouble;value:D
  • Constructor Details

    • NbtDouble

      NbtDouble()
    • NbtDouble

      public NbtDouble(double value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldr;<init>(D)V
      intermediary <init> Lnet/minecraft/class_348;<init>(D)V
      named <init> Lnet/minecraft/nbt/NbtDouble;<init>(D)V
  • 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;
    • 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
    • longValue

      public long longValue()
      Specified by:
      longValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official c Led$a;c()J
      intermediary method_7371 Lnet/minecraft/class_605$class_1947;method_7371()J
      named longValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;longValue()J
    • intValue

      public int intValue()
      Specified by:
      intValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official d Led$a;d()I
      intermediary method_7372 Lnet/minecraft/class_605$class_1947;method_7372()I
      named intValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;intValue()I
    • shortValue

      public short shortValue()
      Specified by:
      shortValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official e Led$a;e()S
      intermediary method_7373 Lnet/minecraft/class_605$class_1947;method_7373()S
      named shortValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;shortValue()S
    • byteValue

      public byte byteValue()
      Specified by:
      byteValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official f Led$a;f()B
      intermediary method_7374 Lnet/minecraft/class_605$class_1947;method_7374()B
      named byteValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;byteValue()B
    • doubleValue

      public double doubleValue()
      Specified by:
      doubleValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official g Led$a;g()D
      intermediary method_7375 Lnet/minecraft/class_605$class_1947;method_7375()D
      named doubleValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;doubleValue()D
    • floatValue

      public float floatValue()
      Specified by:
      floatValue in class NbtElement.AbstractNbtNumber
      Mappings:
      Namespace Name Mixin selector
      official h Led$a;h()F
      intermediary method_7376 Lnet/minecraft/class_605$class_1947;method_7376()F
      named floatValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;floatValue()F