Package dev.jorel.commandapi
Interface IStringTooltip
- All Known Implementing Classes:
StringTooltip
public interface IStringTooltip
A string-based tooltip interface that includes a string suggestion and a
formatted tooltip text to display when hovering over the suggestion
-
Method Summary
Modifier and TypeMethodDescriptionReturns the suggestion that this object containscom.mojang.brigadier.MessageReturns the tooltip text that this object contains
-
Method Details
-
getSuggestion
String getSuggestion()Returns the suggestion that this object contains- Returns:
- the suggestion that this object contains
-
getTooltip
com.mojang.brigadier.Message getTooltip()Returns the tooltip text that this object contains- Returns:
- the tooltip text that this object contains
-