Package net.minecraft.client
Interface OptionInstance.ValueSet<T>
- All Known Subinterfaces:
OptionInstance.CycleableValueSet<T>
,OptionInstance.IntRangeBase
,OptionInstance.SliderableOrCyclableValueSet<T>
,OptionInstance.SliderableValueSet<T>
- All Known Implementing Classes:
OptionInstance.AltEnum
,OptionInstance.ClampingLazyMaxIntRange
,OptionInstance.Enum
,OptionInstance.IntRange
,OptionInstance.LazyEnum
,OptionInstance.UnitDouble
- Enclosing class:
- OptionInstance<T>
static interface OptionInstance.ValueSet<T>
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<T>
codec()
createButton
(OptionInstance.TooltipSupplier<T> p_231779_, Options p_231780_, int p_231781_, int p_231782_, int p_231783_) validateValue
(T p_231784_)
-
Method Details
-
createButton
Function<OptionInstance<T>,AbstractWidget> createButton(OptionInstance.TooltipSupplier<T> p_231779_, Options p_231780_, int p_231781_, int p_231782_, int p_231783_) -
validateValue
-
codec
com.mojang.serialization.Codec<T> codec()
-