Interface StringBinaryTag

All Superinterfaces:
BinaryTag, BinaryTagLike

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

    • stringBinaryTag

      static StringBinaryTag stringBinaryTag(String value)
      Creates a binary tag holding a String value.
      Parameters:
      value - the value
      Returns:
      a binary tag
      Since:
      4.14.0
    • type

      default BinaryTagType<StringBinaryTag> type()
      Description copied from interface: BinaryTag
      Gets the tag type.
      Specified by:
      type in interface BinaryTag
      Returns:
      the tag type
    • value

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