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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull BinaryTag
asBinaryTag()
Gets aBinaryTag
representation.@NotNull BinaryTagType<? extends BinaryTag>
type()
Gets the tag type.
-
-
-
Method Detail
-
type
@NotNull @NotNull BinaryTagType<? extends BinaryTag> type()
Gets the tag type.- Returns:
- the tag type
- Since:
- 4.0.0
-
asBinaryTag
@NotNull default @NotNull BinaryTag asBinaryTag()
Description copied from interface:BinaryTagLike
Gets aBinaryTag
representation.- Specified by:
asBinaryTag
in interfaceBinaryTagLike
- Returns:
- a binary tag
-
-