Uses of Interface
net.minecraft.client.gui.widget.CyclingButtonWidget.TooltipFactory
-
Uses of CyclingButtonWidget.TooltipFactory in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate CyclingButtonWidget.TooltipFactory<T>
CyclingButtonWidget.Builder.tooltipFactory
private CyclingButtonWidget.TooltipFactory<T>
CyclingButtonWidget.tooltipFactory
Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.tooltip(CyclingButtonWidget.TooltipFactory<T> tooltipFactory)
Sets the tooltip factory that provides tooltips for any of the values.ModifierConstructorDescription(package private)
CyclingButtonWidget(int x, int y, int width, int height, Text message, Text optionText, int index, T value, CyclingButtonWidget.Values<T> values, Function<T,Text> valueToText, Function<CyclingButtonWidget<T>,MutableText> narrationMessageFactory, CyclingButtonWidget.UpdateCallback<T> callback, CyclingButtonWidget.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted)
-
Uses of CyclingButtonWidget.TooltipFactory in net.minecraft.client.option
Modifier and TypeMethodDescriptionCyclingOption.tooltip(Function<MinecraftClient,CyclingButtonWidget.TooltipFactory<T>> tooltips)