Package net.minecraft.nbt
Class NumericTag
java.lang.Object
net.minecraft.nbt.NumericTag
- All Implemented Interfaces:
- Tag
- 
Field SummaryFields inherited from interface net.minecraft.nbt.TagARRAY_HEADER, MAX_DEPTH, OBJECT_HEADER, OBJECT_REFERENCE, STRING_SIZE, TAG_ANY_NUMERIC, 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
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.nbt.Tagaccept, accept, acceptAsRoot, copy, getAsString, getId, getType, sizeInBytes, write
- 
Constructor Details- 
NumericTagprotected NumericTag()
 
- 
- 
Method Details- 
getAsLongpublic abstract long getAsLong()
- 
getAsIntpublic abstract int getAsInt()
- 
getAsShortpublic abstract short getAsShort()
- 
getAsBytepublic abstract byte getAsByte()
- 
getAsDoublepublic abstract double getAsDouble()
- 
getAsFloatpublic abstract float getAsFloat()
- 
getAsNumber
- 
toString
 
-