public class NBTTagByte extends NBTBase.NBTPrimitive
NBTBase.NBTPrimitive| Constructor and Description |
|---|
NBTTagByte(byte data) |
| Modifier and Type | Method and Description |
|---|---|
NBTBase |
copy()
Creates a clone of the tag.
|
boolean |
equals(java.lang.Object p_equals_1_) |
byte |
getByte() |
double |
getDouble() |
float |
getFloat() |
byte |
getId()
Gets the type byte for the tag.
|
int |
getInt() |
long |
getLong() |
short |
getShort() |
int |
hashCode() |
java.lang.String |
toString() |
createNewByType, getString, hasNoTagspublic long getLong()
getLong in class NBTBase.NBTPrimitivepublic int getInt()
getInt in class NBTBase.NBTPrimitivepublic short getShort()
getShort in class NBTBase.NBTPrimitivepublic byte getByte()
getByte in class NBTBase.NBTPrimitivepublic double getDouble()
getDouble in class NBTBase.NBTPrimitivepublic float getFloat()
getFloat in class NBTBase.NBTPrimitive