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, hasNoTagsvoid 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 NBTPrimitivepublic int getInt()
getInt in class NBTPrimitivepublic short getShort()
getShort in class NBTPrimitivepublic byte getByte()
getByte in class NBTPrimitivepublic double getDouble()
getDouble in class NBTPrimitivepublic float getFloat()
getFloat in class NBTPrimitive