Interface SignText

All Superinterfaces:
BuildableDataComponent<SignText, SignText.Builder>

@NonExtendable public interface SignText extends BuildableDataComponent<SignText, SignText.Builder>
Represents the lines of text on a sign side.
Since:
26.3
See Also:
  • Method Details

    • signText

      @Contract(value="_ -> new", pure=true) static SignText signText(List<? extends net.kyori.adventure.text.ComponentLike> lines)
      Since:
      26.3
    • signText

      @Contract(value="-> new", pure=true) static SignText.Builder signText()
      Since:
      26.3
    • lines

      @Contract(pure=true) List<net.kyori.adventure.text.Component> lines()
      Gets the lines on this sign side.
      Returns:
      the list of messages
      Since:
      26.3
    • color

      @Contract(pure=true) DyeColor color()
      Gets the color of the text on this sign side.
      Returns:
      the color of the text
      Since:
      26.3
    • hasGlowingText

      @Contract(pure=true) boolean hasGlowingText()
      Checks if the text on this sign side has a glowing effect.
      Returns:
      true if the text has a glowing effect, false otherwise
      Since:
      26.3