Package net.minecraft.client.settings
Class SliderMultiplierOption
- java.lang.Object
-
- net.minecraft.client.AbstractOption
-
- net.minecraft.client.settings.SliderPercentageOption
-
- net.minecraft.client.settings.SliderMultiplierOption
-
public class SliderMultiplierOption extends SliderPercentageOption
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.settings.SliderPercentageOption
maxValue, minValue, steps
-
Fields inherited from class net.minecraft.client.AbstractOption
AMBIENT_OCCLUSION, ATTACK_INDICATOR, AUTO_JUMP, AUTO_SUGGESTIONS, BIOME_BLEND_RADIUS, CHAT_COLOR, CHAT_DELAY, CHAT_HEIGHT_FOCUSED, CHAT_HEIGHT_UNFOCUSED, CHAT_LINE_SPACING, CHAT_LINKS, CHAT_LINKS_PROMPT, CHAT_OPACITY, CHAT_SCALE, CHAT_VISIBILITY, CHAT_WIDTH, DISCRETE_MOUSE_SCROLL, ENABLE_VSYNC, ENTITY_DISTANCE_SCALING, ENTITY_SHADOWS, FORCE_UNICODE_FONT, FOV, FOV_EFFECTS_SCALE, FRAMERATE_LIMIT, GAMMA, GRAPHICS, GUI_SCALE, HIDE_MATCHED_NAMES, INVERT_MOUSE, MAIN_HAND, MIPMAP_LEVELS, MOUSE_WHEEL_SENSITIVITY, NARRATOR, PARTICLES, RAW_MOUSE_INPUT, REALMS_NOTIFICATIONS, REDUCED_DEBUG_INFO, RENDER_CLOUDS, RENDER_DISTANCE, SCREEN_EFFECTS_SCALE, SENSITIVITY, SHOW_SUBTITLES, SNOOPER_ENABLED, TEXT_BACKGROUND, TEXT_BACKGROUND_OPACITY, TOGGLE_CROUCH, TOGGLE_SPRINT, TOUCHSCREEN, USE_FULLSCREEN, VIEW_BOBBING
-
-
Constructor Summary
Constructors Constructor Description SliderMultiplierOption(java.lang.String p_i51161_1_, double p_i51161_2_, double p_i51161_4_, float p_i51161_6_, java.util.function.Function<GameSettings,java.lang.Double> p_i51161_7_, java.util.function.BiConsumer<GameSettings,java.lang.Double> p_i51161_8_, java.util.function.BiFunction<GameSettings,SliderPercentageOption,ITextComponent> p_i51161_9_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
toPct(double p_216726_1_)
double
toValue(double p_216725_1_)
-
Methods inherited from class net.minecraft.client.settings.SliderPercentageOption
createButton, get, getMaxValue, getMessage, getMinValue, set, setMaxValue
-
Methods inherited from class net.minecraft.client.AbstractOption
genericValueLabel, genericValueLabel, getCaption, getTooltip, percentAddValueLabel, percentValueLabel, pixelValueLabel, setTooltip
-
-
-
-
Constructor Detail
-
SliderMultiplierOption
public SliderMultiplierOption(java.lang.String p_i51161_1_, double p_i51161_2_, double p_i51161_4_, float p_i51161_6_, java.util.function.Function<GameSettings,java.lang.Double> p_i51161_7_, java.util.function.BiConsumer<GameSettings,java.lang.Double> p_i51161_8_, java.util.function.BiFunction<GameSettings,SliderPercentageOption,ITextComponent> p_i51161_9_)
-
-
Method Detail
-
toPct
public double toPct(double p_216726_1_)
- Overrides:
toPct
in classSliderPercentageOption
-
toValue
public double toValue(double p_216725_1_)
- Overrides:
toValue
in classSliderPercentageOption
-
-