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