Package net.minecraft.nbt
Interface NumericTag
- All Superinterfaces:
PrimitiveTag
,Tag
-
Field Summary
Fields inherited from interface net.minecraft.nbt.Tag
ARRAY_HEADER, MAX_DEPTH, OBJECT_HEADER, OBJECT_REFERENCE, STRING_SIZE, TAG_BYTE, TAG_BYTE_ARRAY, TAG_COMPOUND, TAG_DOUBLE, TAG_END, TAG_FLOAT, TAG_INT, TAG_INT_ARRAY, TAG_LIST, TAG_LONG, TAG_LONG_ARRAY, TAG_SHORT, TAG_STRING
-
Method Summary
Methods inherited from interface net.minecraft.nbt.PrimitiveTag
copy
Methods inherited from interface net.minecraft.nbt.Tag
accept, accept, acceptAsRoot, asByteArray, asCompound, asIntArray, asList, asLongArray, asString, getId, getType, sizeInBytes, toString, write
-
Method Details
-
byteValue
byte byteValue() -
shortValue
short shortValue() -
intValue
int intValue() -
longValue
long longValue() -
floatValue
float floatValue() -
doubleValue
double doubleValue() -
box
Number box() -
asNumber
-
asByte
-
asShort
-
asInt
-
asLong
-
asFloat
-
asDouble
-
asBoolean
-