Package net.minecraft.client.option
Interface SimpleOption.TypeChangeableCallbacks<T>
- All Superinterfaces:
 SimpleOption.Callbacks<T>,SimpleOption.CyclingCallbacks<T>,SimpleOption.SliderCallbacks<T>
- All Known Implementing Classes:
 SimpleOption.MaxSuppliableIntCallbacks
- Enclosing class:
 SimpleOption<T>
@Environment(CLIENT)
static interface SimpleOption.TypeChangeableCallbacks<T>
extends SimpleOption.CyclingCallbacks<T>, SimpleOption.SliderCallbacks<T>
- Mappings:
 Namespace Name named net/minecraft/client/option/SimpleOption$TypeChangeableCallbacksintermediary net/minecraft/class_7172$class_7306official fuh$j
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.option.SimpleOption.CyclingCallbacks
SimpleOption.CyclingCallbacks.ValueSetter<T> - 
Method Summary
Modifier and TypeMethodDescriptiondefault Function<SimpleOption<T>, ClickableWidget> getWidgetCreator(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.booleanMethods inherited from interface net.minecraft.client.option.SimpleOption.Callbacks
codec, validateMethods inherited from interface net.minecraft.client.option.SimpleOption.CyclingCallbacks
getValues, valueSetterMethods inherited from interface net.minecraft.client.option.SimpleOption.SliderCallbacks
applyValueImmediately, toSliderProgress, toValue 
- 
Method Details
- 
isCycling
boolean isCycling()- Mappings:
 Namespace Name Mixin selector named isCyclingLnet/minecraft/client/option/SimpleOption$TypeChangeableCallbacks;isCycling()Zintermediary method_42722Lnet/minecraft/class_7172$class_7306;method_42722()Zofficial cLfuh$j;c()Z
 - 
getWidgetCreator
default Function<SimpleOption<T>,ClickableWidget> getWidgetCreator(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.Widget creators are responsible for rendering the option into a
ClickableWidget.- Specified by:
 getWidgetCreatorin interfaceSimpleOption.Callbacks<T>- Specified by:
 getWidgetCreatorin interfaceSimpleOption.CyclingCallbacks<T>- Specified by:
 getWidgetCreatorin interfaceSimpleOption.SliderCallbacks<T>- Returns:
 - the widget creator
 - Mappings:
 Namespace Name Mixin selector named getWidgetCreatorLnet/minecraft/client/option/SimpleOption$Callbacks;getWidgetCreator(Lnet/minecraft/client/option/SimpleOption$TooltipFactory;Lnet/minecraft/client/option/GameOptions;IIILjava/util/function/Consumer;)Ljava/util/function/Function;intermediary method_41756Lnet/minecraft/class_7172$class_7178;method_41756(Lnet/minecraft/class_7172$class_7277;Lnet/minecraft/class_315;IIILjava/util/function/Consumer;)Ljava/util/function/Function;official aLfuh$n;a(Lfuh$l;Lfui;IIILjava/util/function/Consumer;)Ljava/util/function/Function;
 
 -