-
Notifications
You must be signed in to change notification settings - Fork 0
Add a name above head line rendering API #5
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Make a NameLineAPI, HeadLineAPI, whatever, an API for rendering lines above a players's head.
This would be driven by, for consistency, a NameLineEvent. This would expose a list of NameLines, which could be modified with NameLineBuilders.
Example code:
@Subscribe
public void addSimpleNameLine(NameLineEvent event) {
event.getNameLines().add(new NameLine().setText("Hello").showWhileSneaking(true));
}Current consumers of this event would be strength indicatora and bounty hunting, and it could allow for easier displaying of information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request