Interface ItemTooltipCallback


@Deprecated public interface ItemTooltipCallback
Deprecated.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getTooltip(ItemStack stack, TooltipContext tooltipContext, List<Text> lines)
    Deprecated.
    Called when an item stack's tooltip is rendered.
  • Field Details

  • Method Details

    • getTooltip

      void getTooltip(ItemStack stack, TooltipContext tooltipContext, List<Text> lines)
      Deprecated.
      Called when an item stack's tooltip is rendered. Text added to lines will be rendered with the tooltip.
      Parameters:
      lines - the list containing the lines of text displayed on the stack's tooltip