[SPIGOT-6470] Component as displayname for scoreboard objectives Created: 24/May/21  Updated: 24/May/21  Resolved: 24/May/21

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: LaserSlime Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: ChatComponentAPI, Objectives, api, component, scoreboard
Environment:

Windows 10 Pro 2004 64-bit

Java 15


Version: 3056-Spigot-4225eac-6f55b5b (MC: 1.16.5)
Guidelines Read: Yes

 Description   

The displayname of a scoreboard objective is an IChatBaseComponent in the nms class, so it should be possible to add a constructor for the objective with a BaseComponent instead of a string to the api. This could be useful in terms of the lenght limit when you have lots of color codes which make the string longer than it actually is. I'm not sure if components get around this, but this would still be a useful addition.



 Comments   
Comment by Black Hole [ 24/May/21 ]

Issue SPIGOT-6223 covers more than just objectives.

Generated at Sat Apr 05 09:38:05 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.