Package net.minecraft.client.option
Interface SimpleOption.CyclingCallbacks<T>
- All Superinterfaces:
 SimpleOption.Callbacks<T>
- All Known Subinterfaces:
 SimpleOption.TypeChangeableCallbacks<T>
- All Known Implementing Classes:
 SimpleOption.AlternateValuesSupportingCyclingCallbacks,SimpleOption.LazyCyclingCallbacks,SimpleOption.MaxSuppliableIntCallbacks,SimpleOption.PotentialValuesBasedCallbacks
- Enclosing class:
 SimpleOption<T>
@Environment(CLIENT)
static interface SimpleOption.CyclingCallbacks<T>
extends SimpleOption.Callbacks<T>
- Mappings:
 Namespace Name named net/minecraft/client/option/SimpleOption$CyclingCallbacksintermediary net/minecraft/class_7172$class_7305official fgr$d
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface - 
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.Methods inherited from interface net.minecraft.client.option.SimpleOption.Callbacks
codec, validate 
- 
Method Details
- 
getValues
CyclingButtonWidget.Values<T> getValues()- Mappings:
 Namespace Name Mixin selector named getValuesLnet/minecraft/client/option/SimpleOption$CyclingCallbacks;getValues()Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;intermediary method_42721Lnet/minecraft/class_7172$class_7305;method_42721()Lnet/minecraft/class_5676$class_5680;official aLfgr$d;a()Lfit$c;
 - 
valueSetter
- Mappings:
 Namespace Name Mixin selector named valueSetterLnet/minecraft/client/option/SimpleOption$CyclingCallbacks;valueSetter()Lnet/minecraft/client/option/SimpleOption$CyclingCallbacks$ValueSetter;intermediary comp_674Lnet/minecraft/class_7172$class_7305;comp_674()Lnet/minecraft/class_7172$class_7305$class_7274;official eLfgr$d;e()Lfgr$d$a;
 - 
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>- 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 aLfgr$n;a(Lfgr$l;Lfgs;IIILjava/util/function/Consumer;)Ljava/util/function/Function;
 
 -