Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4742

No way to get or set sign color

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-f2180d5-2cc992e (MC: 1.14 Pre-Release 5) (Implementing API version 1.14-pre5-SNAPSHOT)
    • Yes

      In Minecraft 1.14, the following feature was added:
      "Right clicking on signs with dyes will now change the text color."

      As such, signs now have the following block data:

      • Color: The color that has been used to dye the sign. The default value is "black". One of "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "light_gray", "cyan", "purple", "blue", "brown", "green", "red", or "black".
      • Text1: First row of text.
      • Text2: Second row of text.
      • Text3: Third row of text.
      • Text4: Fourth row of text.

      Currently, you can get Text1, Text2, Text3, and Text4 through the Sign interface (i.e. https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Sign.html)

      However, there's no option to get the sign color.

      Ideally, there should be getColor and setColor methods on the Sign interface.

      Thanks!

            Unassigned Unassigned
            Intelli Intelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: