public class DoubleTag extends AbstractNumberTag
| Modifier and Type | Field and Description |
|---|---|
static TagReader<DoubleTag> |
READER |
private double |
value |
static DoubleTag |
ZERO |
| Modifier | Constructor and Description |
|---|---|
private |
DoubleTag(double value) |
| Modifier and Type | Method and Description |
|---|---|
DoubleTag |
copy() |
boolean |
equals(Object o) |
byte |
getByte() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
Number |
getNumber() |
TagReader<DoubleTag> |
getReader() |
short |
getShort() |
byte |
getType() |
int |
hashCode() |
void |
method_32289(class_5627 class_5627) |
static DoubleTag |
of(double value) |
void |
write(DataOutput output) |
toStringpublic static final DoubleTag ZERO
private final double value
public static DoubleTag of(double value)
public void write(DataOutput output) throws IOException
IOExceptionpublic byte getType()
public DoubleTag copy()
public void method_32289(class_5627 class_5627)
public long getLong()
getLong in class AbstractNumberTagpublic int getInt()
getInt in class AbstractNumberTagpublic short getShort()
getShort in class AbstractNumberTagpublic byte getByte()
getByte in class AbstractNumberTagpublic double getDouble()
getDouble in class AbstractNumberTagpublic float getFloat()
getFloat in class AbstractNumberTagpublic Number getNumber()
getNumber in class AbstractNumberTag