Class NbtFloat


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

    • value

      private float value
      Mappings:
      Namespace Name Mixin selector
      official b Ldr;b:F
      intermediary field_1324 Lnet/minecraft/class_401;field_1324:F
      named value Lnet/minecraft/nbt/NbtFloat;value:F
  • Constructor Details

    • NbtFloat

      NbtFloat()
    • NbtFloat

      public NbtFloat(float value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldr;<init>(F)V
      intermediary <init> Lnet/minecraft/class_401;<init>(F)V
      named <init> Lnet/minecraft/nbt/NbtFloat;<init>(F)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 Leb;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 Leb;a(Ljava/io/DataInput;ILdw;)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 Leb;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 Leb;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 Leb;b()Leb;
      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 Leb;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 Leb;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 Leb$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 Leb$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 Leb$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 Leb$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 Leb$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 Leb$a;h()F
      intermediary method_7376 Lnet/minecraft/class_605$class_1947;method_7376()F
      named floatValue Lnet/minecraft/nbt/NbtElement$AbstractNbtNumber;floatValue()F