public static enum GameSettings.Options extends java.lang.Enum<GameSettings.Options>
Modifier and Type | Method and Description |
---|---|
float |
denormalizeValue(float value) |
boolean |
getEnumBoolean() |
boolean |
getEnumFloat() |
static GameSettings.Options |
getEnumOptions(int ordinal) |
java.lang.String |
getEnumString() |
float |
getValueMax() |
float |
getValueMin() |
float |
normalizeValue(float value) |
int |
returnEnumOrdinal() |
void |
setValueMax(float value) |
protected float |
snapToStep(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 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 getEnumOptions(int ordinal)
public boolean getEnumFloat()
public boolean getEnumBoolean()
public int returnEnumOrdinal()
public java.lang.String getEnumString()
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)
protected float snapToStep(float value)