Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The documentation for tooltips is outdated #500

Open
JorelAli opened this issue Oct 20, 2023 · 0 comments
Open

The documentation for tooltips is outdated #500

JorelAli opened this issue Oct 20, 2023 · 0 comments
Labels
documentation Documentation improvement

Comments

@JorelAli
Copy link
Owner

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

@JorelAli JorelAli added the documentation Documentation improvement label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation improvement
Projects
None yet
Development

No branches or pull requests

1 participant