Package net.minecraft.client.option
Interface SimpleOption.SliderCallbacks<T>
- All Superinterfaces:
SimpleOption.Callbacks<T>
- All Known Subinterfaces:
SimpleOption.class_7306<T>,SimpleOption.IntSliderCallbacks
- All Known Implementing Classes:
SimpleOption.DoubleSliderCallbacks,SimpleOption.ValidatingIntSliderCallbacks
- Enclosing class:
SimpleOption<T>
@Environment(CLIENT)
static interface SimpleOption.SliderCallbacks<T>
extends SimpleOption.Callbacks<T>
- Mappings:
Namespace Name official ebt$kintermediary net/minecraft/class_7172$class_7176named net/minecraft/client/option/SimpleOption$SliderCallbacks
-
Method Summary
Modifier and TypeMethodDescriptiondefault Function<SimpleOption<T>,ClickableWidget> getButtonCreator(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) doubletoSliderProgress(T value) toValue(double sliderProgress) Methods inherited from interface net.minecraft.client.option.SimpleOption.Callbacks
codec, validate
-
Method Details
-
toSliderProgress
- Mappings:
Namespace Name Mixin selector official bLebt$k;b(Ljava/lang/Object;)Dintermediary method_41765Lnet/minecraft/class_7172$class_7176;method_41765(Ljava/lang/Object;)Dnamed toSliderProgressLnet/minecraft/client/option/SimpleOption$SliderCallbacks;toSliderProgress(Ljava/lang/Object;)D
-
toValue
- Mappings:
Namespace Name Mixin selector official bLebt$k;b(D)Ljava/lang/Object;intermediary method_41763Lnet/minecraft/class_7172$class_7176;method_41763(D)Ljava/lang/Object;named toValueLnet/minecraft/client/option/SimpleOption$SliderCallbacks;toValue(D)Ljava/lang/Object;
-
getButtonCreator
default Function<SimpleOption<T>,ClickableWidget> getButtonCreator(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width) - Specified by:
getButtonCreatorin interfaceSimpleOption.Callbacks<T>- Mappings:
Namespace Name Mixin selector official aLebt$o;a(Lebt$l;Lebu;III)Ljava/util/function/Function;intermediary method_41756Lnet/minecraft/class_7172$class_7178;method_41756(Lnet/minecraft/class_7172$class_7277;Lnet/minecraft/class_315;III)Ljava/util/function/Function;named getButtonCreatorLnet/minecraft/client/option/SimpleOption$Callbacks;getButtonCreator(Lnet/minecraft/client/option/SimpleOption$TooltipFactory;Lnet/minecraft/client/option/GameOptions;III)Ljava/util/function/Function;
-