Interface StringBinaryTag

All Superinterfaces:
BinaryTag, BinaryTagLike, net.kyori.examination.Examinable

public interface StringBinaryTag extends BinaryTag
A binary tag holding a String value.
Since:
4.0.0
  • Method Details

    • stringBinaryTag

      @NotNull static @NotNull StringBinaryTag stringBinaryTag(@NotNull @NotNull String value)
      Creates a binary tag holding a String value.
      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, use stringBinaryTag(String) instead.
      Creates a binary tag holding a String 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.
      Specified by:
      type in interface BinaryTag
      Returns:
      the tag type
    • value

      @NotNull @NotNull String value()
      Gets the value.
      Returns:
      the value
      Since:
      4.0.0