Package net.minecraft.nbt
Class NumberNBT
- java.lang.Object
-
- net.minecraft.nbt.NumberNBT
-
-
Field Summary
-
Fields inherited from interface net.minecraft.nbt.INBT
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NumberNBT()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract byte
getAsByte()
abstract double
getAsDouble()
abstract float
getAsFloat()
abstract int
getAsInt()
abstract long
getAsLong()
abstract java.lang.Number
getAsNumber()
abstract short
getAsShort()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.nbt.INBT
copy, getAsString, getId, getPrettyDisplay, getPrettyDisplay, getType, toString, write
-
-
-
-
Method Detail
-
getAsLong
public abstract long getAsLong()
-
getAsInt
public abstract int getAsInt()
-
getAsShort
public abstract short getAsShort()
-
getAsByte
public abstract byte getAsByte()
-
getAsDouble
public abstract double getAsDouble()
-
getAsFloat
public abstract float getAsFloat()
-
getAsNumber
public abstract java.lang.Number getAsNumber()
-
-