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 @NonNull BinaryTagasBinaryTag()Gets aBinaryTagrepresentation.@NonNull BinaryTagType<? extends BinaryTag>type()Gets the tag type.Methods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Method Details
-
type
@NonNull BinaryTagType<? extends BinaryTag> type()Gets the tag type.- Returns:
- the tag type
- Since:
- 4.0.0
-
asBinaryTag
Description copied from interface:BinaryTagLikeGets aBinaryTagrepresentation.- Specified by:
asBinaryTagin interfaceBinaryTagLike- Returns:
- a binary tag
-