Package net.minecraft.client.option
Class LogarithmicOption
java.lang.Object
net.minecraft.client.option.Option
net.minecraft.client.option.DoubleOption
net.minecraft.client.option.LogarithmicOption
- Mappings:
Namespace Name official dvn
intermediary net/minecraft/class_4287
named net/minecraft/client/option/LogarithmicOption
-
Field Summary
Fields inherited from class net.minecraft.client.option.DoubleOption
max, min, step
Fields inherited from class net.minecraft.client.option.Option
AO, ATTACK_INDICATOR, AUTO_JUMP, AUTO_SUGGESTIONS, BIOME_BLEND_RADIUS, CHAT_COLOR, CHAT_DELAY_INSTANT, CHAT_HEIGHT_FOCUSED, CHAT_LINE_SPACING, CHAT_LINKS, CHAT_LINKS_PROMPT, CHAT_OPACITY, CHAT_SCALE, CHAT_WIDTH, CLOUDS, DISCRETE_MOUSE_SCROLL, DISTORTION_EFFECT_SCALE, ENTITY_DISTANCE_SCALING, ENTITY_SHADOWS, field_32147, FORCE_UNICODE_FONT, FOV, FOV_EFFECT_SCALE, FRAMERATE_LIMIT, FULLSCREEN, GAMMA, GRAPHICS, GUI_SCALE, HIDE_MATCHED_NAMES, INVERT_MOUSE, MAIN_HAND, MIPMAP_LEVELS, MONOCHROME_LOGO, MOUSE_WHEEL_SENSITIVITY, NARRATOR, PARTICLES, RAW_MOUSE_INPUT, REALMS_NOTIFICATIONS, REDUCED_DEBUG_INFO, RENDER_DISTANCE, SATURATION, SENSITIVITY, SNEAK_TOGGLED, SNOOPER, SPRINT_TOGGLED, SUBTITLES, TEXT_BACKGROUND, TEXT_BACKGROUND_OPACITY, TOUCHSCREEN, VIEW_BOBBING, VISIBILITY, VSYNC
-
Constructor Summary
ConstructorDescriptionLogarithmicOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)
-
Method Summary
Methods inherited from class net.minecraft.client.option.DoubleOption
createButton, get, getDisplayString, getMax, getMin, set, setMax
Methods inherited from class net.minecraft.client.option.Option
getDisplayPrefix, getGenericLabel, getGenericLabel, getPercentAdditionLabel, getPercentLabel, getPixelLabel
-
Constructor Details
-
LogarithmicOption
public LogarithmicOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)- Mappings:
Namespace Name Mixin selector official <init>
Ldvu;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
intermediary <init>
Lnet/minecraft/class_4067;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
named <init>
Lnet/minecraft/client/option/DoubleOption;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
-
-
Method Details
-
getRatio
public double getRatio(double value)- Overrides:
getRatio
in classDoubleOption
- Mappings:
Namespace Name Mixin selector official a
Ldvu;a(D)D
intermediary method_18611
Lnet/minecraft/class_4067;method_18611(D)D
named getRatio
Lnet/minecraft/client/option/DoubleOption;getRatio(D)D
-
getValue
public double getValue(double ratio)- Overrides:
getValue
in classDoubleOption
- Mappings:
Namespace Name Mixin selector official b
Ldvu;b(D)D
intermediary method_18616
Lnet/minecraft/class_4067;method_18616(D)D
named getValue
Lnet/minecraft/client/option/DoubleOption;getValue(D)D
-