NBT-Manipulator

A kotlin/java lib that allows you to read and write NBT data in a clean way

View on GitHub

//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtFloat

NbtFloat

[jvm]
data class NbtFloat(value: Float) : NbtTag

A tag which wraps a float value.

Constructors

   
NbtFloat [jvm]
fun NbtFloat(signed: String)
Parses the string value as a signed float and wraps it.
NbtFloat [jvm]
fun NbtFloat(value: Float)

Functions

Name Summary
deepCopy [jvm]
open override fun deepCopy(): NbtFloat
Returns a new wrapper with the current value.
toString [jvm]
override fun toString(): String
A technical string representation of this tag, containing the tag type, and it’s value, appropriated for developer inspections.

Properties

Name Summary
stringValue [jvm]
open override val stringValue: String
Returns a string representation of the tag’s value.
value [jvm]
var value: Float
The wrapped value