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 Type
    Method
    Description
    Returns the suggestion that this object contains
    com.mojang.brigadier.Message
    Returns 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