Package net.minecraft.client
Interface OptionInstance.SliderableValueSet<T>
- All Superinterfaces:
OptionInstance.ValueSet<T>
- All Known Subinterfaces:
OptionInstance.IntRangeBase
,OptionInstance.SliderableOrCyclableValueSet<T>
- All Known Implementing Classes:
OptionInstance.ClampingLazyMaxIntRange
,OptionInstance.IntRange
,OptionInstance.UnitDouble
- Enclosing class:
- OptionInstance<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Function<OptionInstance<T>,
AbstractWidget> createButton
(OptionInstance.TooltipSupplier<T> p_231719_, Options p_231720_, int p_231721_, int p_231722_, int p_231723_) fromSliderValue
(double p_231731_) double
toSliderValue
(T p_231732_) Methods inherited from interface net.minecraft.client.OptionInstance.ValueSet
codec, validateValue
-
Method Details
-
toSliderValue
-
fromSliderValue
-
createButton
default Function<OptionInstance<T>,AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> p_231719_, Options p_231720_, int p_231721_, int p_231722_, int p_231723_) - Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-