|
| | NbtFloat () |
| | Creates an unnamed NbtFloat tag with the default value of 0f.
|
| |
| | NbtFloat (float value) |
| | Creates an unnamed NbtFloat tag with the given value.
|
| |
| | NbtFloat ([CanBeNull] string tagName) |
| | Creates an NbtFloat tag with the given name and the default value of 0f.
|
| |
| | NbtFloat ([CanBeNull] string tagName, float value) |
| | Creates an NbtFloat tag with the given name and value.
|
| |
| override string | ToString () |
| | Returns a String that represents the current NbtFloat object. Format: TAG_Float("Name"): Value
|
| |
| string | ToString ([NotNull] string indentString) |
| | Prints contents of this tag, and any child tags, to a string. Indents the string using multiples of the given indentation string.
|
| |
|
| override NbtTagType | TagType [get] |
| | Type of this tag (Float).
|
| |
| float | Value [get, set] |
| | Value/payload of this tag (a single-precision floating point number).
|
| |
| NbtTag | Parent [get, set] |
| | Parent compound tag, either NbtList or NbtCompound, if any.
|
| |
| virtual NbtTagType | TagType [get] |
| | Type of this tag.
|
| |
| string | Name [get, set] |
| | Name of this tag. Immutable, and set by the constructor. May be null.
|
| |
| string | Path [get] |
| | Gets the full name of this tag, including all parent tag names, separated by dots. Unnamed tags show up as empty strings.
|
| |
| virtual NbtTag | this[string tagName] [get, set] |
| | Gets or sets the tag with the specified name. May return null.
|
| |
| virtual NbtTag | this[int tagIndex] [get, set] |
| | Gets or sets the tag at the specified index.
|
| |
| byte | ByteValue [get] |
| | Returns the value of this tag, cast as a byte. Only supported by NbtByte tags.
|
| |
| short | ShortValue [get] |
| | Returns the value of this tag, cast as a short (16-bit signed integer). Only supported by NbtByte and NbtShort.
|
| |
| int | IntValue [get] |
| | Returns the value of this tag, cast as an int (32-bit signed integer). Only supported by NbtByte, NbtShort, and NbtInt.
|
| |
| long | LongValue [get] |
| | Returns the value of this tag, cast as a long (64-bit signed integer). Only supported by NbtByte, NbtShort, NbtInt, and NbtLong.
|
| |
| float | FloatValue [get] |
| | Returns the value of this tag, cast as a long (64-bit signed integer). Only supported by NbtFloat and, with loss of precision, by NbtDouble, NbtByte, NbtShort, NbtInt, and NbtLong.
|
| |
| double | DoubleValue [get] |
| | Returns the value of this tag, cast as a long (64-bit signed integer). Only supported by NbtFloat, NbtDouble, and, with loss of precision, by NbtByte, NbtShort, NbtInt, and NbtLong.
|
| |
| byte[] | ByteArrayValue [get] |
| | Returns the value of this tag, cast as a byte array. Only supported by NbtByteArray tags.
|
| |
| int[] | IntArrayValue [get] |
| | Returns the value of this tag, cast as an int array. Only supported by NbtIntArray tags.
|
| |
| string | StringValue [get] |
| | Returns the value of this tag, cast as a string. Returns exact value for NbtString, and stringified (using InvariantCulture) value for NbtByte, NbtDouble, NbtFloat, NbtInt, NbtLong, and NbtShort. Not supported by NbtCompound, NbtList, NbtByteArray, or NbtIntArray.
|
| |
A tag containing a single-precision floating point number.