- Type Parameters:
T
- The value returned by this tag's get method. It must be a number.
public abstract class NBTNumberTag<T extends java.lang.Number>
extends NBTBaseTag<T>
An NBTNumberTag wraps a number. It is one level higher than the primitive number tags
but it is not an actual tag type. The type of this tag depends on the tag it is wrapping.
If the underlying tag is a byte tag this tags type will also be a byte tag but provides
simple cast avoiding methods to the other primitive number types.