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_261993_, Options p_262177_, int p_261706_, int p_261683_, int p_261573_, Consumer<T> p_261969_) 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_261993_, Options p_262177_, int p_261706_, int p_261683_, int p_261573_, Consumer<T> p_261969_) - Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-