Package net.kyori.adventure.nbt
Interface BinaryTag
- All Superinterfaces:
BinaryTagLike
,net.kyori.examination.Examinable
- All Known Subinterfaces:
ArrayBinaryTag
,ByteArrayBinaryTag
,ByteBinaryTag
,CompoundBinaryTag
,DoubleBinaryTag
,EndBinaryTag
,FloatBinaryTag
,IntArrayBinaryTag
,IntBinaryTag
,ListBinaryTag
,LongArrayBinaryTag
,LongBinaryTag
,NumberBinaryTag
,ShortBinaryTag
,StringBinaryTag
public interface BinaryTag extends BinaryTagLike, net.kyori.examination.Examinable
A binary tag.
- Since:
- 4.0.0
-
Method Summary
Modifier and Type Method Description default @NotNull BinaryTag
asBinaryTag()
Gets aBinaryTag
representation.@NotNull BinaryTagType<? extends BinaryTag>
type()
Gets the tag type.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Method Details
-
type
Gets the tag type.- Returns:
- the tag type
- Since:
- 4.0.0
-
asBinaryTag
Description copied from interface:BinaryTagLike
Gets aBinaryTag
representation.- Specified by:
asBinaryTag
in interfaceBinaryTagLike
- Returns:
- a binary tag
-