Interface ITooltipProvider

All Known Implementing Classes:
KeybindingButton, WidgetAmadronOffer, WidgetAnimatedStat, WidgetButtonExtended, WidgetCheckBox, WidgetColorSelector, WidgetComboBox, WidgetEnergy, WidgetFluidFilter, WidgetFluidStack, WidgetKeybindCheckBox, WidgetLabel, WidgetLabelVariable, WidgetList, WidgetRadioButton, WidgetRangeToggleButton, WidgetTank, WidgetTemperature, WidgetTextField, WidgetTextFieldNumber, WidgetTooltipArea
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ITooltipProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addTooltip(double mouseX, double mouseY, List<net.minecraft.network.chat.Component> curTip, boolean shift)
     
    default boolean
     
  • Method Details

    • addTooltip

      void addTooltip(double mouseX, double mouseY, List<net.minecraft.network.chat.Component> curTip, boolean shift)
    • shouldProvide

      default boolean shouldProvide()