Modifier and Type | Class and Description |
---|---|
(package private) static class |
ByteNBT.Cache |
Modifier and Type | Field and Description |
---|---|
private byte |
data |
static ByteNBT |
ONE |
static INBTType<ByteNBT> |
TYPE |
static ByteNBT |
ZERO |
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
Modifier | Constructor and Description |
---|---|
private |
ByteNBT(byte data) |
Modifier and Type | Method and Description |
---|---|
ByteNBT |
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() |
INBTType<ByteNBT> |
getType() |
int |
hashCode() |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
static ByteNBT |
valueOf(boolean p_229672_0_) |
static ByteNBT |
valueOf(byte p_229671_0_) |
void |
write(java.io.DataOutput output) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getString, toFormattedComponent
public static final ByteNBT ZERO
public static final ByteNBT ONE
private final byte data
public static ByteNBT valueOf(byte p_229671_0_)
public static ByteNBT valueOf(boolean p_229672_0_)
public void write(java.io.DataOutput output) throws java.io.IOException
java.io.IOException
public byte getId()
public java.lang.String toString()
public ByteNBT 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 java.lang.Number getAsNumber()
getAsNumber
in class NumberNBT