8000 The documentation for tooltips is outdated · Issue #500 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content
The documentation for tooltips is outdated #500
Open
@JorelAli

Description

@JorelAli

Documentation URL

https://commandapi.jorel.dev/9.2.0/tooltips.html

What the documentation currently says

StringTooltip none(String suggestion);
StringTooltip ofString(String suggestion, String tooltip);
StringTooltip ofMessage(String suggestion, Message tooltip);
StringTooltip ofBaseComponents(String suggestion, BaseComponent... tooltip);
StringTooltip ofAdventureComponent(String suggestion, Component tooltip);

(Also everything else in the content of that documentation page)

Proposed fix

We should be referring to BukkitTooltip for adventure components etc.
We should be mentioning methods such as BukkitTooltip.generateAdventureComponents

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0