public class NBTTagByte extends NBTPrimitive
NBT_TYPES, SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
Constructor and Description |
---|
NBTTagByte(byte data) |
Modifier and Type | Method and Description |
---|---|
NBTTagByte |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.Number |
getAsNumber() |
byte |
getByte() |
double |
getDouble() |
float |
getFloat() |
byte |
getId() |
int |
getInt() |
long |
getLong() |
short |
getShort() |
int |
hashCode() |
void |
read(java.io.DataInput input,
int depth,
NBTSizeTracker sizeTracker) |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput output) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
create, getString, getTypeName, toFormattedComponent
public void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
public void read(java.io.DataInput input, int depth, NBTSizeTracker sizeTracker) throws java.io.IOException
java.io.IOException
public byte getId()
public java.lang.String toString()
public NBTTagByte copy()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ITextComponent toFormattedComponent(java.lang.String indentation, int indentDepth)
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
public java.lang.Number getAsNumber()
getAsNumber
in class NBTPrimitive