Creates a NbtFloat with given parent.
NbtFloat({required String name, required double value}) : _value = value, super(name, NbtTagType.TAG_FLOAT);