Interface ButtonWidget.TooltipSupplier

All Known Implementing Classes:
ChatReportScreen.ValidationErrorTooltipSupplier
Enclosing class:
ButtonWidget

@Environment(CLIENT) public static interface ButtonWidget.TooltipSupplier
Mappings:
Namespace Name
official ehp$b
intermediary net/minecraft/class_4185$class_5316
named net/minecraft/client/gui/widget/ButtonWidget$TooltipSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTooltip(ButtonWidget button, MatrixStack matrices, int mouseX, int mouseY)
     
    default void
    supply(Consumer<Text> consumer)
     
  • Method Details

    • onTooltip

      void onTooltip(ButtonWidget button, MatrixStack matrices, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official onTooltip Lehp$b;onTooltip(Lehp;Leaq;II)V
      intermediary onTooltip Lnet/minecraft/class_4185$class_5316;onTooltip(Lnet/minecraft/class_4185;Lnet/minecraft/class_4587;II)V
      named onTooltip Lnet/minecraft/client/gui/widget/ButtonWidget$TooltipSupplier;onTooltip(Lnet/minecraft/client/gui/widget/ButtonWidget;Lnet/minecraft/client/util/math/MatrixStack;II)V
    • supply

      default void supply(Consumer<Text> consumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lehp$b;a(Ljava/util/function/Consumer;)V
      intermediary method_37023 Lnet/minecraft/class_4185$class_5316;method_37023(Ljava/util/function/Consumer;)V
      named supply Lnet/minecraft/client/gui/widget/ButtonWidget$TooltipSupplier;supply(Ljava/util/function/Consumer;)V