Package net.kyori.adventure.nbt
Interface StringBinaryTag
- All Superinterfaces:
BinaryTag,BinaryTagLike,net.kyori.examination.Examinable
A binary tag holding a
String value.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringBinaryTagDeprecated.static @NotNull StringBinaryTagstringBinaryTag(@NotNull String value) Creates a binary tag holding aStringvalue.default @NotNull BinaryTagType<StringBinaryTag>type()Gets the tag type.@NotNull Stringvalue()Gets the value.Methods inherited from interface net.kyori.adventure.nbt.BinaryTag
asBinaryTagMethods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine
-
Method Details
-
stringBinaryTag
Creates a binary tag holding aStringvalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.14.0
-
of
@Deprecated @ScheduledForRemoval(inVersion="5.0.0") @NotNull static @NotNull StringBinaryTag of(@NotNull @NotNull String value) Deprecated.for removal since 4.14.0, usestringBinaryTag(String)instead.Creates a binary tag holding aStringvalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.0.0
-
type
Description copied from interface:BinaryTagGets the tag type. -
value
Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-
stringBinaryTag(String)instead.