类 LogarithmicOption
- java.lang.Object
-
- net.minecraft.client.option.Option
-
- net.minecraft.client.option.DoubleOption
-
- net.minecraft.client.option.LogarithmicOption
-
@Environment(CLIENT) public class LogarithmicOption extends DoubleOption
- Mappings:
Namespace Name official dulintermediary net/minecraft/class_4287named net/minecraft/client/option/LogarithmicOption
-
-
字段概要
-
从类继承的字段 net.minecraft.client.option.DoubleOption
max, min, step
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 LogarithmicOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 doublegetRatio(double value)doublegetValue(double ratio)-
从类继承的方法 net.minecraft.client.option.DoubleOption
createButton, get, getDisplayString, getMax, getMin, set, setMax
-
从类继承的方法 net.minecraft.client.option.Option
getDisplayPrefix, getGenericLabel, getGenericLabel, getPercentAdditionLabel, getPercentLabel, getPixelLabel
-
-
-
-
构造器详细资料
-
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>Ldus;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)Vintermediary <init>Lnet/minecraft/class_4067;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)Vnamed <init>Lnet/minecraft/client/option/DoubleOption;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
-
-
方法详细资料
-
getRatio
public double getRatio(double value)
- 覆盖:
getRatio在类中DoubleOption- Mappings:
Namespace Name Mixin selector official aLdus;a(D)Dintermediary method_18611Lnet/minecraft/class_4067;method_18611(D)Dnamed getRatioLnet/minecraft/client/option/DoubleOption;getRatio(D)D
-
getValue
public double getValue(double ratio)
- 覆盖:
getValue在类中DoubleOption- Mappings:
Namespace Name Mixin selector official bLdus;b(D)Dintermediary method_18616Lnet/minecraft/class_4067;method_18616(D)Dnamed getValueLnet/minecraft/client/option/DoubleOption;getValue(D)D
-
-