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_231713_, Options p_231714_, int p_231715_, int p_231716_, int p_231717_) 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_231713_, Options p_231714_, int p_231715_, int p_231716_, int p_231717_) - Specified by:
createButton
in interfaceOptionInstance.CycleableValueSet<T>
- Specified by:
createButton
in interfaceOptionInstance.SliderableValueSet<T>
- Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-