@Environment(value=CLIENT) public abstract class Option extends Object
Modifier and Type | Method and Description |
---|---|
abstract AbstractButtonWidget |
createButton(GameOptions options,
int x,
int y,
int width) |
protected Text |
getDisplayPrefix() |
protected Text |
getGenericLabel(int value) |
protected Text |
getGenericLabel(Text value) |
protected Text |
getPercentAdditionLabel(int percentage) |
protected Text |
getPercentLabel(double proportion) |
protected Text |
getPixelLabel(int pixel) |
Optional<List<OrderedText>> |
getTooltip() |
void |
setTooltip(List<OrderedText> tooltip) |
public static final DoubleOption BIOME_BLEND_RADIUS
public static final DoubleOption CHAT_HEIGHT_FOCUSED
public static final DoubleOption SATURATION
public static final DoubleOption CHAT_OPACITY
public static final DoubleOption CHAT_SCALE
public static final DoubleOption CHAT_WIDTH
public static final DoubleOption CHAT_LINE_SPACING
public static final DoubleOption CHAT_DELAY_INSTANT
public static final DoubleOption FOV
private static final Text FOV_EFFECT_SCALE_TOOLTIP
public static final DoubleOption FOV_EFFECT_SCALE
private static final Text DISTORTION_EFFECT_SCALE_TOOLTIP
public static final DoubleOption DISTORTION_EFFECT_SCALE
public static final DoubleOption FRAMERATE_LIMIT
public static final DoubleOption GAMMA
public static final DoubleOption MIPMAP_LEVELS
public static final DoubleOption MOUSE_WHEEL_SENSITIVITY
public static final BooleanOption RAW_MOUSE_INPUT
public static final DoubleOption RENDER_DISTANCE
public static final DoubleOption ENTITY_DISTANCE_SCALING
public static final DoubleOption SENSITIVITY
public static final DoubleOption TEXT_BACKGROUND_OPACITY
public static final CyclingOption AO
public static final CyclingOption ATTACK_INDICATOR
public static final CyclingOption VISIBILITY
private static final Text FAST_GRAPHICS_TOOLTIP
private static final Text FABULOUS_GRAPHICS_TOOLTIP
private static final Text FANCY_GRAPHICS_TOOLTIP
public static final CyclingOption GRAPHICS
public static final CyclingOption GUI_SCALE
public static final CyclingOption MAIN_HAND
public static final CyclingOption NARRATOR
public static final CyclingOption PARTICLES
public static final CyclingOption CLOUDS
public static final CyclingOption TEXT_BACKGROUND
private static final Text field_26925
public static final BooleanOption AUTO_JUMP
public static final BooleanOption AUTO_SUGGESTIONS
public static final BooleanOption field_26924
public static final BooleanOption CHAT_COLOR
public static final BooleanOption CHAT_LINKS
public static final BooleanOption CHAT_LINKS_PROMPT
public static final BooleanOption DISCRETE_MOUSE_SCROLL
public static final BooleanOption VSYNC
public static final BooleanOption ENTITY_SHADOWS
public static final BooleanOption FORCE_UNICODE_FONT
public static final BooleanOption INVERT_MOUSE
public static final BooleanOption REALMS_NOTIFICATIONS
public static final BooleanOption REDUCED_DEBUG_INFO
public static final BooleanOption SUBTITLES
public static final BooleanOption SNOOPER
public static final CyclingOption SNEAK_TOGGLED
public static final CyclingOption SPRINT_TOGGLED
public static final BooleanOption TOUCHSCREEN
public static final BooleanOption FULLSCREEN
public static final BooleanOption VIEW_BOBBING
private final Text key
private Optional<List<OrderedText>> tooltip
public Option(String key)
public abstract AbstractButtonWidget createButton(GameOptions options, int x, int y, int width)
protected Text getDisplayPrefix()
public void setTooltip(List<OrderedText> tooltip)
public Optional<List<OrderedText>> getTooltip()
protected Text getPixelLabel(int pixel)
protected Text getPercentLabel(double proportion)
protected Text getPercentAdditionLabel(int percentage)
protected Text getGenericLabel(int value)