Package net.kyori.adventure.nbt
Interface FloatBinaryTag
-
- All Superinterfaces:
BinaryTag,BinaryTagLike,net.kyori.examination.Examinable,NumberBinaryTag
public interface FloatBinaryTag extends NumberBinaryTag
A binary tag holding afloatvalue.- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static @NotNull FloatBinaryTagof(float value)Creates a binary tag holding afloatvalue.default @NotNull BinaryTagType<FloatBinaryTag>type()Gets the tag type.floatvalue()Gets the value.-
Methods inherited from interface net.kyori.adventure.nbt.BinaryTag
asBinaryTag
-
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Methods inherited from interface net.kyori.adventure.nbt.NumberBinaryTag
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
-
-
-
Method Detail
-
of
@NotNull static @NotNull FloatBinaryTag of(float value)
Creates a binary tag holding afloatvalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.0.0
-
type
@NotNull default @NotNull BinaryTagType<FloatBinaryTag> type()
Description copied from interface:BinaryTagGets the tag type.- Specified by:
typein interfaceBinaryTag- Specified by:
typein interfaceNumberBinaryTag- Returns:
- the tag type
-
value
float value()
Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-
-