public class NBTTagLong extends NBTBase.NBTPrimitive
NBTBase.NBTPrimitive
Constructor and Description |
---|
NBTTagLong(long 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, hasNoTags
public long getLong()
getLong
in class NBTBase.NBTPrimitive
public int getInt()
getInt
in class NBTBase.NBTPrimitive
public short getShort()
getShort
in class NBTBase.NBTPrimitive
public byte getByte()
getByte
in class NBTBase.NBTPrimitive
public double getDouble()
getDouble
in class NBTBase.NBTPrimitive
public float getFloat()
getFloat
in class NBTBase.NBTPrimitive