Package net.kyori.adventure.nbt
Interface StringBinaryTag
-
- All Superinterfaces:
BinaryTag,BinaryTagLike,net.kyori.examination.Examinable
public interface StringBinaryTag extends BinaryTag
A binary tag holding aStringvalue.- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static @NotNull StringBinaryTagof(@NotNull java.lang.String value)Deprecated.for removal since 4.14.0, usestringBinaryTag(String)instead.static @NotNull StringBinaryTagstringBinaryTag(@NotNull java.lang.String value)Creates a binary tag holding aStringvalue.default @NotNull BinaryTagType<StringBinaryTag>type()Gets the tag type.@NotNull java.lang.Stringvalue()Gets the value.-
Methods inherited from interface net.kyori.adventure.nbt.BinaryTag
asBinaryTag
-
-
-
-
Method Detail
-
stringBinaryTag
@NotNull static @NotNull StringBinaryTag stringBinaryTag(@NotNull @NotNull java.lang.String value)
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 java.lang.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
@NotNull default @NotNull BinaryTagType<StringBinaryTag> type()
Description copied from interface:BinaryTagGets the tag type.
-
value
@NotNull @NotNull java.lang.String value()
Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-
-