Package net.kyori.adventure.nbt
Interface LongBinaryTag
- All Superinterfaces:
BinaryTag,net.kyori.examination.Examinable,NumberBinaryTag
public interface LongBinaryTag extends NumberBinaryTag
A binary tag holding a
long value.- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description static @NonNull LongBinaryTagof(long value)Creates a binary tag holding alongvalue.default @NonNull BinaryTagType<LongBinaryTag>type()Gets the tag type.longvalue()Gets the value.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examineMethods inherited from interface net.kyori.adventure.nbt.NumberBinaryTag
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Method Details
-
of
Creates a binary tag holding alongvalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.0.0
-
type
Description copied from interface:BinaryTagGets the tag type.- Specified by:
typein interfaceBinaryTag- Specified by:
typein interfaceNumberBinaryTag- Returns:
- the tag type
-
value
long value()Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-