Uses of Interface
net.minecraft.client.option.SimpleOption.SliderCallbacks
-
Uses of SimpleOption.SliderCallbacks in net.minecraft.client.option
Modifier and TypeInterfaceDescription(package private) static interface
(package private) static interface
Modifier and TypeClassDescriptionstatic enum
A set of callbacks for a slider of values from0.0
to1.0
(both inclusive).static final record
A set of callbacks for a cycling option with a fixed minimum value and a dynamic maximum value.static final record
A set of callbacks for a slider of integer values with a fixed minimum and maximum values.Modifier and TypeFieldDescriptionprivate final SimpleOption.SliderCallbacks<N>
SimpleOption.OptionSliderWidgetImpl.callbacks
Modifier and TypeMethodDescription<R> SimpleOption.SliderCallbacks<R>
SimpleOption.DoubleSliderCallbacks.withModifier
(DoubleFunction<? extends R> sliderProgressValueToValue, ToDoubleFunction<? super R> valueToSliderProgressValue) Creates a slider callback with the modifier applied.default <R> SimpleOption.SliderCallbacks<R>
SimpleOption.IntSliderCallbacks.withModifier
(IntFunction<? extends R> sliderProgressValueToValue, ToIntFunction<? super R> valueToSliderProgressValue) Creates a slider callback with the modifier applied.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)