Package net.minecraft.client
Interface OptionInstance.SliderableOrCyclableValueSet<T>
- All Superinterfaces:
OptionInstance.CycleableValueSet<T>
,OptionInstance.SliderableValueSet<T>
,OptionInstance.ValueSet<T>
- All Known Implementing Classes:
OptionInstance.ClampingLazyMaxIntRange
- Enclosing class:
- OptionInstance<T>
static interface OptionInstance.SliderableOrCyclableValueSet<T>
extends OptionInstance.CycleableValueSet<T>, OptionInstance.SliderableValueSet<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.OptionInstance.CycleableValueSet
OptionInstance.CycleableValueSet.ValueSetter<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Function<OptionInstance<T>,
AbstractWidget> createButton
(OptionInstance.TooltipSupplier<T> p_261786_, Options p_262030_, int p_261940_, int p_262149_, int p_261495_, Consumer<T> p_261881_) boolean
Methods inherited from interface net.minecraft.client.OptionInstance.CycleableValueSet
valueListSupplier, valueSetter
Methods inherited from interface net.minecraft.client.OptionInstance.SliderableValueSet
fromSliderValue, toSliderValue
Methods inherited from interface net.minecraft.client.OptionInstance.ValueSet
codec, validateValue
-
Method Details
-
createCycleButton
boolean createCycleButton() -
createButton
default Function<OptionInstance<T>,AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> p_261786_, Options p_262030_, int p_261940_, int p_262149_, int p_261495_, Consumer<T> p_261881_) - Specified by:
createButton
in interfaceOptionInstance.CycleableValueSet<T>
- Specified by:
createButton
in interfaceOptionInstance.SliderableValueSet<T>
- Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-