Package net.minecraft.client
Class LogaritmicProgressOption
java.lang.Object
net.minecraft.client.Option
net.minecraft.client.ProgressOption
net.minecraft.client.LogaritmicProgressOption
-
Field Summary
Fields inherited from class net.minecraft.client.ProgressOption
maxValue, minValue, steps
Fields inherited from class net.minecraft.client.Option
ALLOW_SERVER_LISTING, AMBIENT_OCCLUSION, ATTACK_INDICATOR, AUDIO_DEVICE, AUTO_JUMP, AUTO_SUGGESTIONS, AUTOSAVE_INDICATOR, 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, DARK_MOJANG_STUDIOS_BACKGROUND_COLOR, DISCRETE_MOUSE_SCROLL, ENABLE_VSYNC, ENTITY_DISTANCE_SCALING, ENTITY_SHADOWS, FORCE_UNICODE_FONT, FOV, FOV_EFFECTS_SCALE, FRAMERATE_LIMIT, GAMMA, GRAPHICS, GUI_SCALE, HIDE_LIGHTNING_FLASH, HIDE_MATCHED_NAMES, INVERT_MOUSE, MAIN_HAND, MIPMAP_LEVELS, MOUSE_WHEEL_SENSITIVITY, NARRATOR, OPTIONS_TOOLTIP_WIDTH, PARTICLES, PRIORITIZE_CHUNK_UPDATES, RAW_MOUSE_INPUT, REALMS_NOTIFICATIONS, REDUCED_DEBUG_INFO, RENDER_CLOUDS, RENDER_DISTANCE, SCREEN_EFFECTS_SCALE, SENSITIVITY, SHOW_SUBTITLES, SIMULATION_DISTANCE, TEXT_BACKGROUND, TEXT_BACKGROUND_OPACITY, TOGGLE_CROUCH, TOGGLE_SPRINT, TOUCHSCREEN, USE_FULLSCREEN, VIEW_BOBBING
-
Constructor Summary
ConstructorDescriptionLogaritmicProgressOption
(String p_90966_, double p_90967_, double p_90968_, float p_90969_, Function<Options, Double> p_90970_, BiConsumer<Options, Double> p_90971_, BiFunction<Options, ProgressOption, Component> p_90972_) -
Method Summary
Methods inherited from class net.minecraft.client.ProgressOption
createButton, get, getMaxValue, getMessage, getMinValue, set, setMaxValue
Methods inherited from class net.minecraft.client.Option
genericValueLabel, genericValueLabel, getCaption, percentAddValueLabel, percentValueLabel, pixelValueLabel
-
Constructor Details
-
LogaritmicProgressOption
public LogaritmicProgressOption(String p_90966_, double p_90967_, double p_90968_, float p_90969_, Function<Options, Double> p_90970_, BiConsumer<Options, Double> p_90971_, BiFunction<Options, ProgressOption, Component> p_90972_)
-
-
Method Details
-
toPct
public double toPct(double p_90974_) - Overrides:
toPct
in classProgressOption
-
toValue
public double toValue(double p_90976_) - Overrides:
toValue
in classProgressOption
-