Package net.minecraft.client.settings
Enum GameSettings.Options
- java.lang.Object
-
- java.lang.Enum<GameSettings.Options>
-
- net.minecraft.client.settings.GameSettings.Options
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GameSettings.Options>
- Enclosing class:
- GameSettings
public static enum GameSettings.Options extends java.lang.Enum<GameSettings.Options>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
denormalizeValue(float parFloat1)
boolean
getEnumBoolean()
boolean
getEnumFloat()
static GameSettings.Options
getEnumOptions(int parInt1)
java.lang.String
getEnumString()
float
getValueMax()
float
normalizeValue(float parFloat1)
int
returnEnumOrdinal()
void
setValueMax(float parFloat1)
protected float
snapToStep(float parFloat1)
float
snapToStepClamp(float parFloat1)
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.
-
-
-
Enum Constant Detail
-
INVERT_MOUSE
public static final GameSettings.Options INVERT_MOUSE
-
SENSITIVITY
public static final GameSettings.Options SENSITIVITY
-
FOV
public static final GameSettings.Options FOV
-
GAMMA
public static final GameSettings.Options GAMMA
-
SATURATION
public static final GameSettings.Options SATURATION
-
RENDER_DISTANCE
public static final GameSettings.Options RENDER_DISTANCE
-
VIEW_BOBBING
public static final GameSettings.Options VIEW_BOBBING
-
ANAGLYPH
public static final GameSettings.Options ANAGLYPH
-
FRAMERATE_LIMIT
public static final GameSettings.Options FRAMERATE_LIMIT
-
FBO_ENABLE
public static final GameSettings.Options FBO_ENABLE
-
RENDER_CLOUDS
public static final GameSettings.Options RENDER_CLOUDS
-
GRAPHICS
public static final GameSettings.Options GRAPHICS
-
AMBIENT_OCCLUSION
public static final GameSettings.Options AMBIENT_OCCLUSION
-
GUI_SCALE
public static final GameSettings.Options GUI_SCALE
-
PARTICLES
public static final GameSettings.Options PARTICLES
-
CHAT_VISIBILITY
public static final GameSettings.Options CHAT_VISIBILITY
-
CHAT_COLOR
public static final GameSettings.Options CHAT_COLOR
-
CHAT_LINKS
public static final GameSettings.Options CHAT_LINKS
-
CHAT_OPACITY
public static final GameSettings.Options CHAT_OPACITY
-
CHAT_LINKS_PROMPT
public static final GameSettings.Options CHAT_LINKS_PROMPT
-
SNOOPER_ENABLED
public static final GameSettings.Options SNOOPER_ENABLED
-
TOUCHSCREEN
public static final GameSettings.Options TOUCHSCREEN
-
CHAT_SCALE
public static final GameSettings.Options CHAT_SCALE
-
CHAT_WIDTH
public static final GameSettings.Options CHAT_WIDTH
-
CHAT_HEIGHT_FOCUSED
public static final GameSettings.Options CHAT_HEIGHT_FOCUSED
-
CHAT_HEIGHT_UNFOCUSED
public static final GameSettings.Options CHAT_HEIGHT_UNFOCUSED
-
MIPMAP_LEVELS
public static final GameSettings.Options MIPMAP_LEVELS
-
FORCE_UNICODE_FONT
public static final GameSettings.Options FORCE_UNICODE_FONT
-
STREAM_BYTES_PER_PIXEL
public static final GameSettings.Options STREAM_BYTES_PER_PIXEL
-
STREAM_VOLUME_MIC
public static final GameSettings.Options STREAM_VOLUME_MIC
-
STREAM_VOLUME_SYSTEM
public static final GameSettings.Options STREAM_VOLUME_SYSTEM
-
STREAM_KBPS
public static final GameSettings.Options STREAM_KBPS
-
STREAM_FPS
public static final GameSettings.Options STREAM_FPS
-
STREAM_COMPRESSION
public static final GameSettings.Options STREAM_COMPRESSION
-
STREAM_SEND_METADATA
public static final GameSettings.Options STREAM_SEND_METADATA
-
STREAM_CHAT_ENABLED
public static final GameSettings.Options STREAM_CHAT_ENABLED
-
STREAM_CHAT_USER_FILTER
public static final GameSettings.Options STREAM_CHAT_USER_FILTER
-
STREAM_MIC_TOGGLE_BEHAVIOR
public static final GameSettings.Options STREAM_MIC_TOGGLE_BEHAVIOR
-
BLOCK_ALTERNATIVES
public static final GameSettings.Options BLOCK_ALTERNATIVES
-
REDUCED_DEBUG_INFO
public static final GameSettings.Options REDUCED_DEBUG_INFO
-
ENTITY_SHADOWS
public static final GameSettings.Options ENTITY_SHADOWS
-
HUD_FPS
public static final GameSettings.Options HUD_FPS
-
HUD_COORDS
public static final GameSettings.Options HUD_COORDS
-
HUD_STATS
public static final GameSettings.Options HUD_STATS
-
HUD_WORLD
public static final GameSettings.Options HUD_WORLD
-
HUD_PLAYER
public static final GameSettings.Options HUD_PLAYER
-
HUD_24H
public static final GameSettings.Options HUD_24H
-
CHUNK_FIX
public static final GameSettings.Options CHUNK_FIX
-
FOG
public static final GameSettings.Options FOG
-
FXAA
public static final GameSettings.Options FXAA
-
FULLSCREEN
public static final GameSettings.Options FULLSCREEN
-
-
Method Detail
-
values
public static GameSettings.Options[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GameSettings.Options c : GameSettings.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GameSettings.Options valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getEnumOptions
public static GameSettings.Options getEnumOptions(int parInt1)
-
getEnumFloat
public boolean getEnumFloat()
-
getEnumBoolean
public boolean getEnumBoolean()
-
returnEnumOrdinal
public int returnEnumOrdinal()
-
getEnumString
public java.lang.String getEnumString()
-
getValueMax
public float getValueMax()
-
setValueMax
public void setValueMax(float parFloat1)
-
normalizeValue
public float normalizeValue(float parFloat1)
-
denormalizeValue
public float denormalizeValue(float parFloat1)
-
snapToStepClamp
public float snapToStepClamp(float parFloat1)
-
snapToStep
protected float snapToStep(float parFloat1)
-
-