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