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, 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 NBTTagByte 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