public static enum GameSettings.Options extends java.lang.Enum<GameSettings.Options>
Modifier and Type | Method and Description |
---|---|
static GameSettings.Options |
byOrdinal(int ordinal) |
float |
denormalizeValue(float value) |
int |
getOrdinal() |
java.lang.String |
getTranslation() |
float |
getValueMax() |
float |
getValueMin() |
boolean |
isBoolean() |
boolean |
isFloat() |
float |
normalizeValue(float value) |
void |
setValueMax(float value) |
float |
snapToStepClamp(float value) |
static GameSettings.Options |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameSettings.Options[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameSettings.Options INVERT_MOUSE
public static final GameSettings.Options SENSITIVITY
public static final GameSettings.Options FOV
public static final GameSettings.Options GAMMA
public static final GameSettings.Options SATURATION
public static final GameSettings.Options RENDER_DISTANCE
public static final GameSettings.Options VIEW_BOBBING
public static final GameSettings.Options ANAGLYPH
public static final GameSettings.Options FRAMERATE_LIMIT
public static final GameSettings.Options FBO_ENABLE
public static final GameSettings.Options RENDER_CLOUDS
public static final GameSettings.Options GRAPHICS
public static final GameSettings.Options AMBIENT_OCCLUSION
public static final GameSettings.Options GUI_SCALE
public static final GameSettings.Options PARTICLES
public static final GameSettings.Options CHAT_VISIBILITY
public static final GameSettings.Options CHAT_COLOR
public static final GameSettings.Options CHAT_LINKS
public static final GameSettings.Options CHAT_OPACITY
public static final GameSettings.Options CHAT_LINKS_PROMPT
public static final GameSettings.Options SNOOPER_ENABLED
public static final GameSettings.Options USE_FULLSCREEN
public static final GameSettings.Options ENABLE_VSYNC
public static final GameSettings.Options USE_VBO
public static final GameSettings.Options TOUCHSCREEN
public static final GameSettings.Options CHAT_SCALE
public static final GameSettings.Options CHAT_WIDTH
public static final GameSettings.Options CHAT_HEIGHT_FOCUSED
public static final GameSettings.Options CHAT_HEIGHT_UNFOCUSED
public static final GameSettings.Options MIPMAP_LEVELS
public static final GameSettings.Options FORCE_UNICODE_FONT
public static final GameSettings.Options REDUCED_DEBUG_INFO
public static final GameSettings.Options ENTITY_SHADOWS
public static final GameSettings.Options MAIN_HAND
public static final GameSettings.Options ATTACK_INDICATOR
public static final GameSettings.Options ENABLE_WEAK_ATTACKS
public static final GameSettings.Options SHOW_SUBTITLES
public static final GameSettings.Options REALMS_NOTIFICATIONS
public static final GameSettings.Options AUTO_JUMP
public static final GameSettings.Options NARRATOR
public static GameSettings.Options[] values()
for (GameSettings.Options c : GameSettings.Options.values()) System.out.println(c);
public static GameSettings.Options valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static GameSettings.Options byOrdinal(int ordinal)
public boolean isFloat()
public boolean isBoolean()
public int getOrdinal()
public java.lang.String getTranslation()
public float getValueMin()
public float getValueMax()
public void setValueMax(float value)
public float normalizeValue(float value)
public float denormalizeValue(float value)
public float snapToStepClamp(float value)