public class NBTTagByte extends NBTPrimitive
| Modifier and Type | Field and Description |
|---|---|
private byte |
data |
| Constructor and Description |
|---|
NBTTagByte() |
NBTTagByte(byte data) |
| Modifier and Type | Method and Description |
|---|---|
NBTTagByte |
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 NBTTagByte 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