public class NBTTagLong extends NBTPrimitive
Modifier and Type | Field and Description |
---|---|
private long |
data |
Constructor and Description |
---|
NBTTagLong() |
NBTTagLong(long data) |
Modifier and Type | Method and Description |
---|---|
NBTTagLong |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
byte |
getByte() |
double |
getDouble() |
float |
getFloat() |
byte |
getId() |
int |
getInt() |
long |
getLong() |
short |
getShort() |
int |
hashCode() |
(package private) void |
read(java.io.DataInput input,
int depth,
NBTSizeTracker sizeTracker) |
java.lang.String |
toString() |
(package private) void |
write(java.io.DataOutput output) |
createNewByType, getString, getTagTypeName, hasNoTags
void write(java.io.DataOutput output) throws java.io.IOException
void read(java.io.DataInput input, int depth, NBTSizeTracker sizeTracker) throws java.io.IOException
public NBTTagLong copy()
public long getLong()
getLong
in class NBTPrimitive
public int getInt()
getInt
in class NBTPrimitive
public short getShort()
getShort
in class NBTPrimitive
public byte getByte()
getByte
in class NBTPrimitive
public double getDouble()
getDouble
in class NBTPrimitive
public float getFloat()
getFloat
in class NBTPrimitive