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