Package net.kyori.adventure.nbt
Interface StringBinaryTag
-
- All Superinterfaces:
BinaryTag
,BinaryTagLike
,net.kyori.examination.Examinable
public interface StringBinaryTag extends BinaryTag
A binary tag holding aString
value.- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static @NotNull StringBinaryTag
of(@NotNull String value)
Creates a binary tag holding aString
value.default @NotNull BinaryTagType<StringBinaryTag>
type()
Gets the tag type.@NotNull String
value()
Gets the value.-
Methods inherited from interface net.kyori.adventure.nbt.BinaryTag
asBinaryTag
-
-
-
-
Method Detail
-
of
@NotNull static @NotNull StringBinaryTag of(@NotNull @NotNull String value)
Creates a binary tag holding aString
value.- Parameters:
value
- the value- Returns:
- a binary tag
- Since:
- 4.0.0
-
type
@NotNull default @NotNull BinaryTagType<StringBinaryTag> type()
Description copied from interface:BinaryTag
Gets the tag type.
-
value
@NotNull @NotNull String value()
Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-
-