NbtFloat class

TAG_Float: A 32-bit IEEE 754 floating-point number.

Inheritance

Constructors

NbtFloat.new({String? name, required double value})

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
Optional name. Null for list elements.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type NbtTagType
The NbtTagType of this tag.
no setteroverride
value double
The tag's data value.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writePayload(ByteDataWriter writer) → void
Writes the tag's payload (value only) to the writer.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited