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_231612_, Options p_231613_, int p_231614_, int p_231615_, int p_231616_) 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_231612_, Options p_231613_, int p_231614_, int p_231615_, int p_231616_) - Specified by:
createButton
in interfaceOptionInstance.ValueSet<T>
-