| Constructor | Description |
|---|---|
FloatTag() |
Create a float tag with the value 0.
|
FloatTag(float value) |
Create a float tag with the given value.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte |
byteValue() |
|
FloatTag |
copy() |
|
double |
doubleValue() |
|
boolean |
equals(java.lang.Object o) |
|
float |
floatValue() |
|
NbtType |
getNbtType() |
|
float |
getValue() |
|
int |
hashCode() |
|
int |
intValue() |
|
long |
longValue() |
|
java.lang.Number |
numberValue() |
|
FloatTag |
setValue(float value) |
Set the float value.
|
short |
shortValue() |
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasArrayTag, asByteArrayTag, asByteTag, asCompoundTag, asDoubleTag, asFloatTag, asIntArrayTag, asIntTag, asListTag, asLongArrayTag, asLongTag, asNumberTag, asShortTag, asStringTag, isArrayTag, isByteArrayTag, isByteTag, isCompoundTag, isDoubleTag, isFloatTag, isIntArrayTag, isIntTag, isListTag, isLongArrayTag, isLongTag, isNumberTag, isShortTag, isStringTagpublic FloatTag()
public FloatTag(float value)
value - The valuepublic float getValue()
public FloatTag setValue(float value)
value - The new valuepublic byte byteValue()
public short shortValue()
shortValue in interface NbtNumberpublic int intValue()
public long longValue()
public float floatValue()
floatValue in interface NbtNumberpublic double doubleValue()
doubleValue in interface NbtNumberpublic java.lang.Number numberValue()
numberValue in interface NbtNumberNumberpublic NbtType getNbtType()
getNbtType in interface NbtTagpublic FloatTag copy()
public boolean equals(java.lang.Object o)
public int hashCode()