Class NbtFloat

All Implemented Interfaces:
class_4373

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

    • value

      private float value
      Mappings:
      Namespace Name Mixin selector
      official f Lhb;f: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> Lhb;<init>(F)V
      intermediary <init> Lnet/minecraft/class_401;<init>(F)V
      named <init> Lnet/minecraft/nbt/NbtFloat;<init>(F)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 NbtFloat method_1651()
      Mappings:
      Namespace Name Mixin selector
      official c Lhb;c()Lhb;
      intermediary method_13473 Lnet/minecraft/class_401;method_13473()Lnet/minecraft/class_401;
      named method_1651 Lnet/minecraft/nbt/NbtFloat;method_1651()Lnet/minecraft/nbt/NbtFloat;
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lhb;hashCode()I
      intermediary hashCode Lnet/minecraft/class_401;hashCode()I
      named hashCode Lnet/minecraft/nbt/NbtFloat;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;