Package net.minecraft.client
Interface OptionInstance.CycleableValueSet<T>
- All Superinterfaces:
OptionInstance.ValueSet<T>
- All Known Subinterfaces:
OptionInstance.SliderableOrCyclableValueSet<T>
- All Known Implementing Classes:
OptionInstance.AltEnum
,OptionInstance.ClampingLazyMaxIntRange
,OptionInstance.Enum
,OptionInstance.LazyEnum
- Enclosing class:
- OptionInstance<T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault Function<OptionInstance<T>,
AbstractWidget> createButton
(OptionInstance.TooltipSupplier<T> p_261801_, Options p_261824_, int p_261649_, int p_262114_, int p_261536_, Consumer<T> p_261642_) Methods inherited from interface net.minecraft.client.OptionInstance.ValueSet
codec, validateValue
-
Method Details
-
valueListSupplier
CycleButton.ValueListSupplier<T> valueListSupplier() -
valueSetter
-
createButton
default Function<OptionInstance<T>,AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> p_261801_, Options p_261824_, int p_261649_, int p_262114_, int p_261536_, Consumer<T> p_261642_) - Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-