Uses of Interface
net.minecraft.client.option.SimpleOption.TooltipFactory
-
Uses of SimpleOption.TooltipFactory in net.minecraft.client.gui.widget
Modifier and TypeFieldDescriptionprivate SimpleOption.TooltipFactory<T>
CyclingButtonWidget.Builder.tooltipFactory
private final SimpleOption.TooltipFactory<T>
CyclingButtonWidget.tooltipFactory
Modifier and TypeMethodDescriptionCyclingButtonWidget.Builder.tooltip
(SimpleOption.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, SimpleOption.TooltipFactory<T> tooltipFactory, boolean optionTextOmitted) -
Uses of SimpleOption.TooltipFactory in net.minecraft.client.option
Modifier and TypeFieldDescriptionprivate final SimpleOption.TooltipFactory<N>
SimpleOption.OptionSliderWidgetImpl.tooltipFactory
Modifier and TypeMethodDescriptionSimpleOption.Callbacks.getButtonCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) Returns the button creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.CyclingCallbacks.getButtonCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) Returns the button creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.SliderCallbacks.getButtonCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) Returns the button creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.TypeChangeableCallbacks.getButtonCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) Returns the button creator.ModifierConstructorDescription(package private)
OptionSliderWidgetImpl
(GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption.SliderCallbacks<N> callbacks, SimpleOption.TooltipFactory<N> tooltipFactory)