Interface DoubleBinaryTag
- All Superinterfaces:
BinaryTag, BinaryTagLike, NumberBinaryTag
A binary tag holding a
double value.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleBinaryTagdoubleBinaryTag(double value) Creates a binary tag holding adoublevalue.default BinaryTagType<DoubleBinaryTag> type()Gets the tag type.doublevalue()Gets the value.Methods inherited from interface BinaryTag
asBinaryTagMethods inherited from interface NumberBinaryTag
byteValue, doubleValue, floatValue, intValue, longValue, numberValue, shortValue
-
Method Details
-
doubleBinaryTag
Creates a binary tag holding adoublevalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.14.0
-
type
Description copied from interface:BinaryTagGets the tag type.- Specified by:
typein interfaceBinaryTag- Specified by:
typein interfaceNumberBinaryTag- Returns:
- the tag type
-
value
double value()Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-