Package net.minecraft.client.options
Enum Class GameOptions.Option
- All Implemented Interfaces:
Serializable,Comparable<GameOptions.Option>,Constable
- Enclosing class:
- GameOptions
- Mappings:
Namespace Name official beu$aintermediary net/minecraft/class_347$class_350named net/minecraft/client/options/GameOptions$Option
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatadjust(float value) static GameOptions.OptionbyOrdinal(int id) floatgetName()intfloatgetRatio(float value) floatgetValue(float ratio) booleanbooleanfloatprivate floatround(float value) voidsetMaxValue(float max) static GameOptions.OptionReturns the enum constant of this class with the specified name.static GameOptions.Option[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVERT_MOUSE
- Mappings:
Namespace Name Mixin selector official aLbeu$a;a:Lbeu$a;intermediary field_1004Lnet/minecraft/class_347$class_350;field_1004:Lnet/minecraft/class_347$class_350;named INVERT_MOUSELnet/minecraft/client/options/GameOptions$Option;INVERT_MOUSE:Lnet/minecraft/client/options/GameOptions$Option;
-
SENSITIVITY
- Mappings:
Namespace Name Mixin selector official bLbeu$a;b:Lbeu$a;intermediary field_1005Lnet/minecraft/class_347$class_350;field_1005:Lnet/minecraft/class_347$class_350;named SENSITIVITYLnet/minecraft/client/options/GameOptions$Option;SENSITIVITY:Lnet/minecraft/client/options/GameOptions$Option;
-
FIELD_OF_VIEW
- Mappings:
Namespace Name Mixin selector official cLbeu$a;c:Lbeu$a;intermediary field_1006Lnet/minecraft/class_347$class_350;field_1006:Lnet/minecraft/class_347$class_350;named FIELD_OF_VIEWLnet/minecraft/client/options/GameOptions$Option;FIELD_OF_VIEW:Lnet/minecraft/client/options/GameOptions$Option;
-
BRIGHTNESS
- Mappings:
Namespace Name Mixin selector official dLbeu$a;d:Lbeu$a;intermediary field_1007Lnet/minecraft/class_347$class_350;field_1007:Lnet/minecraft/class_347$class_350;named BRIGHTNESSLnet/minecraft/client/options/GameOptions$Option;BRIGHTNESS:Lnet/minecraft/client/options/GameOptions$Option;
-
SATURATION
- Mappings:
Namespace Name Mixin selector official eLbeu$a;e:Lbeu$a;intermediary field_7691Lnet/minecraft/class_347$class_350;field_7691:Lnet/minecraft/class_347$class_350;named SATURATIONLnet/minecraft/client/options/GameOptions$Option;SATURATION:Lnet/minecraft/client/options/GameOptions$Option;
-
RENDER_DISTANCE
- Mappings:
Namespace Name Mixin selector official fLbeu$a;f:Lbeu$a;intermediary field_7692Lnet/minecraft/class_347$class_350;field_7692:Lnet/minecraft/class_347$class_350;named RENDER_DISTANCELnet/minecraft/client/options/GameOptions$Option;RENDER_DISTANCE:Lnet/minecraft/client/options/GameOptions$Option;
-
VIEW_BOBBING
- Mappings:
Namespace Name Mixin selector official gLbeu$a;g:Lbeu$a;intermediary field_1009Lnet/minecraft/class_347$class_350;field_1009:Lnet/minecraft/class_347$class_350;named VIEW_BOBBINGLnet/minecraft/client/options/GameOptions$Option;VIEW_BOBBING:Lnet/minecraft/client/options/GameOptions$Option;
-
ANAGLYPH
- Mappings:
Namespace Name Mixin selector official hLbeu$a;h:Lbeu$a;intermediary field_1010Lnet/minecraft/class_347$class_350;field_1010:Lnet/minecraft/class_347$class_350;named ANAGLYPHLnet/minecraft/client/options/GameOptions$Option;ANAGLYPH:Lnet/minecraft/client/options/GameOptions$Option;
-
MAX_FPS
- Mappings:
Namespace Name Mixin selector official iLbeu$a;i:Lbeu$a;intermediary field_7693Lnet/minecraft/class_347$class_350;field_7693:Lnet/minecraft/class_347$class_350;named MAX_FPSLnet/minecraft/client/options/GameOptions$Option;MAX_FPS:Lnet/minecraft/client/options/GameOptions$Option;
-
FBO_ENABLE
- Mappings:
Namespace Name Mixin selector official jLbeu$a;j:Lbeu$a;intermediary field_7694Lnet/minecraft/class_347$class_350;field_7694:Lnet/minecraft/class_347$class_350;named FBO_ENABLELnet/minecraft/client/options/GameOptions$Option;FBO_ENABLE:Lnet/minecraft/client/options/GameOptions$Option;
-
SHOW_CLOUDS
- Mappings:
Namespace Name Mixin selector official kLbeu$a;k:Lbeu$a;intermediary field_1017Lnet/minecraft/class_347$class_350;field_1017:Lnet/minecraft/class_347$class_350;named SHOW_CLOUDSLnet/minecraft/client/options/GameOptions$Option;SHOW_CLOUDS:Lnet/minecraft/client/options/GameOptions$Option;
-
GRAPHICS
- Mappings:
Namespace Name Mixin selector official lLbeu$a;l:Lbeu$a;intermediary field_1014Lnet/minecraft/class_347$class_350;field_1014:Lnet/minecraft/class_347$class_350;named GRAPHICSLnet/minecraft/client/options/GameOptions$Option;GRAPHICS:Lnet/minecraft/client/options/GameOptions$Option;
-
AMBIENT_OCCLUSION
- Mappings:
Namespace Name Mixin selector official mLbeu$a;m:Lbeu$a;intermediary field_1015Lnet/minecraft/class_347$class_350;field_1015:Lnet/minecraft/class_347$class_350;named AMBIENT_OCCLUSIONLnet/minecraft/client/options/GameOptions$Option;AMBIENT_OCCLUSION:Lnet/minecraft/client/options/GameOptions$Option;
-
GUI_SCALE
- Mappings:
Namespace Name Mixin selector official nLbeu$a;n:Lbeu$a;intermediary field_1016Lnet/minecraft/class_347$class_350;field_1016:Lnet/minecraft/class_347$class_350;named GUI_SCALELnet/minecraft/client/options/GameOptions$Option;GUI_SCALE:Lnet/minecraft/client/options/GameOptions$Option;
-
PARTICLES
- Mappings:
Namespace Name Mixin selector official oLbeu$a;o:Lbeu$a;intermediary field_1018Lnet/minecraft/class_347$class_350;field_1018:Lnet/minecraft/class_347$class_350;named PARTICLESLnet/minecraft/client/options/GameOptions$Option;PARTICLES:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_VISIBILITY
- Mappings:
Namespace Name Mixin selector official pLbeu$a;p:Lbeu$a;intermediary field_1019Lnet/minecraft/class_347$class_350;field_1019:Lnet/minecraft/class_347$class_350;named CHAT_VISIBILITYLnet/minecraft/client/options/GameOptions$Option;CHAT_VISIBILITY:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_COLOR
- Mappings:
Namespace Name Mixin selector official qLbeu$a;q:Lbeu$a;intermediary field_1020Lnet/minecraft/class_347$class_350;field_1020:Lnet/minecraft/class_347$class_350;named CHAT_COLORLnet/minecraft/client/options/GameOptions$Option;CHAT_COLOR:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_LINKS
- Mappings:
Namespace Name Mixin selector official rLbeu$a;r:Lbeu$a;intermediary field_1021Lnet/minecraft/class_347$class_350;field_1021:Lnet/minecraft/class_347$class_350;named CHAT_LINKSLnet/minecraft/client/options/GameOptions$Option;CHAT_LINKS:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_OPACITY
- Mappings:
Namespace Name Mixin selector official sLbeu$a;s:Lbeu$a;intermediary field_1022Lnet/minecraft/class_347$class_350;field_1022:Lnet/minecraft/class_347$class_350;named CHAT_OPACITYLnet/minecraft/client/options/GameOptions$Option;CHAT_OPACITY:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_LINKS_PROMPT
- Mappings:
Namespace Name Mixin selector official tLbeu$a;t:Lbeu$a;intermediary field_1023Lnet/minecraft/class_347$class_350;field_1023:Lnet/minecraft/class_347$class_350;named CHAT_LINKS_PROMPTLnet/minecraft/client/options/GameOptions$Option;CHAT_LINKS_PROMPT:Lnet/minecraft/client/options/GameOptions$Option;
-
SNOOPER_ENABLED
- Mappings:
Namespace Name Mixin selector official uLbeu$a;u:Lbeu$a;intermediary field_1025Lnet/minecraft/class_347$class_350;field_1025:Lnet/minecraft/class_347$class_350;named SNOOPER_ENABLEDLnet/minecraft/client/options/GameOptions$Option;SNOOPER_ENABLED:Lnet/minecraft/client/options/GameOptions$Option;
-
USE_FULLSCREEN
- Mappings:
Namespace Name Mixin selector official vLbeu$a;v:Lbeu$a;intermediary field_1026Lnet/minecraft/class_347$class_350;field_1026:Lnet/minecraft/class_347$class_350;named USE_FULLSCREENLnet/minecraft/client/options/GameOptions$Option;USE_FULLSCREEN:Lnet/minecraft/client/options/GameOptions$Option;
-
ENABLE_VSYNC
- Mappings:
Namespace Name Mixin selector official wLbeu$a;w:Lbeu$a;intermediary field_1027Lnet/minecraft/class_347$class_350;field_1027:Lnet/minecraft/class_347$class_350;named ENABLE_VSYNCLnet/minecraft/client/options/GameOptions$Option;ENABLE_VSYNC:Lnet/minecraft/client/options/GameOptions$Option;
-
USE_VBO
- Mappings:
Namespace Name Mixin selector official xLbeu$a;x:Lbeu$a;intermediary field_10337Lnet/minecraft/class_347$class_350;field_10337:Lnet/minecraft/class_347$class_350;named USE_VBOLnet/minecraft/client/options/GameOptions$Option;USE_VBO:Lnet/minecraft/client/options/GameOptions$Option;
-
TOUCHSCREEN
- Mappings:
Namespace Name Mixin selector official yLbeu$a;y:Lbeu$a;intermediary field_5055Lnet/minecraft/class_347$class_350;field_5055:Lnet/minecraft/class_347$class_350;named TOUCHSCREENLnet/minecraft/client/options/GameOptions$Option;TOUCHSCREEN:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_SCALE
- Mappings:
Namespace Name Mixin selector official zLbeu$a;z:Lbeu$a;intermediary field_5709Lnet/minecraft/class_347$class_350;field_5709:Lnet/minecraft/class_347$class_350;named CHAT_SCALELnet/minecraft/client/options/GameOptions$Option;CHAT_SCALE:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_WIDTH
- Mappings:
Namespace Name Mixin selector official ALbeu$a;A:Lbeu$a;intermediary field_5710Lnet/minecraft/class_347$class_350;field_5710:Lnet/minecraft/class_347$class_350;named CHAT_WIDTHLnet/minecraft/client/options/GameOptions$Option;CHAT_WIDTH:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_HEIGHT_FOCUSED
- Mappings:
Namespace Name Mixin selector official BLbeu$a;B:Lbeu$a;intermediary field_5711Lnet/minecraft/class_347$class_350;field_5711:Lnet/minecraft/class_347$class_350;named CHAT_HEIGHT_FOCUSEDLnet/minecraft/client/options/GameOptions$Option;CHAT_HEIGHT_FOCUSED:Lnet/minecraft/client/options/GameOptions$Option;
-
CHAT_HEIGHT_UNFOCUSED
- Mappings:
Namespace Name Mixin selector official CLbeu$a;C:Lbeu$a;intermediary field_5712Lnet/minecraft/class_347$class_350;field_5712:Lnet/minecraft/class_347$class_350;named CHAT_HEIGHT_UNFOCUSEDLnet/minecraft/client/options/GameOptions$Option;CHAT_HEIGHT_UNFOCUSED:Lnet/minecraft/client/options/GameOptions$Option;
-
MIPMAP_LEVELS
- Mappings:
Namespace Name Mixin selector official DLbeu$a;D:Lbeu$a;intermediary field_7672Lnet/minecraft/class_347$class_350;field_7672:Lnet/minecraft/class_347$class_350;named MIPMAP_LEVELSLnet/minecraft/client/options/GameOptions$Option;MIPMAP_LEVELS:Lnet/minecraft/client/options/GameOptions$Option;
-
FORCE_UNICODE
- Mappings:
Namespace Name Mixin selector official ELbeu$a;E:Lbeu$a;intermediary field_7674Lnet/minecraft/class_347$class_350;field_7674:Lnet/minecraft/class_347$class_350;named FORCE_UNICODELnet/minecraft/client/options/GameOptions$Option;FORCE_UNICODE:Lnet/minecraft/client/options/GameOptions$Option;
-
REDUCED_DEBUG_INFO
- Mappings:
Namespace Name Mixin selector official FLbeu$a;F:Lbeu$a;intermediary field_10334Lnet/minecraft/class_347$class_350;field_10334:Lnet/minecraft/class_347$class_350;named REDUCED_DEBUG_INFOLnet/minecraft/client/options/GameOptions$Option;REDUCED_DEBUG_INFO:Lnet/minecraft/client/options/GameOptions$Option;
-
ENTITY_SHADOWS
- Mappings:
Namespace Name Mixin selector official GLbeu$a;G:Lbeu$a;intermediary field_10335Lnet/minecraft/class_347$class_350;field_10335:Lnet/minecraft/class_347$class_350;named ENTITY_SHADOWSLnet/minecraft/client/options/GameOptions$Option;ENTITY_SHADOWS:Lnet/minecraft/client/options/GameOptions$Option;
-
MAIN_HAND
- Mappings:
Namespace Name Mixin selector official HLbeu$a;H:Lbeu$a;intermediary field_13294Lnet/minecraft/class_347$class_350;field_13294:Lnet/minecraft/class_347$class_350;named MAIN_HANDLnet/minecraft/client/options/GameOptions$Option;MAIN_HAND:Lnet/minecraft/client/options/GameOptions$Option;
-
ATTACK_INDICATOR
- Mappings:
Namespace Name Mixin selector official ILbeu$a;I:Lbeu$a;intermediary field_13295Lnet/minecraft/class_347$class_350;field_13295:Lnet/minecraft/class_347$class_350;named ATTACK_INDICATORLnet/minecraft/client/options/GameOptions$Option;ATTACK_INDICATOR:Lnet/minecraft/client/options/GameOptions$Option;
-
ENABLE_WEAK_ATTACKS
- Mappings:
Namespace Name Mixin selector official JLbeu$a;J:Lbeu$a;intermediary field_13296Lnet/minecraft/class_347$class_350;field_13296:Lnet/minecraft/class_347$class_350;named ENABLE_WEAK_ATTACKSLnet/minecraft/client/options/GameOptions$Option;ENABLE_WEAK_ATTACKS:Lnet/minecraft/client/options/GameOptions$Option;
-
SHOW_SUBTITLES
- Mappings:
Namespace Name Mixin selector official KLbeu$a;K:Lbeu$a;intermediary field_13297Lnet/minecraft/class_347$class_350;field_13297:Lnet/minecraft/class_347$class_350;named SHOW_SUBTITLESLnet/minecraft/client/options/GameOptions$Option;SHOW_SUBTITLES:Lnet/minecraft/client/options/GameOptions$Option;
-
REALMS_NOTIFICATIONS
- Mappings:
Namespace Name Mixin selector official LLbeu$a;L:Lbeu$a;intermediary field_10336Lnet/minecraft/class_347$class_350;field_10336:Lnet/minecraft/class_347$class_350;named REALMS_NOTIFICATIONSLnet/minecraft/client/options/GameOptions$Option;REALMS_NOTIFICATIONS:Lnet/minecraft/client/options/GameOptions$Option;
-
AUTO_JUMP
- Mappings:
Namespace Name Mixin selector official MLbeu$a;M:Lbeu$a;intermediary field_14905Lnet/minecraft/class_347$class_350;field_14905:Lnet/minecraft/class_347$class_350;named AUTO_JUMPLnet/minecraft/client/options/GameOptions$Option;AUTO_JUMP:Lnet/minecraft/client/options/GameOptions$Option;
-
-
Field Details
-
numeric
private final boolean numeric- Mappings:
Namespace Name Mixin selector official NLbeu$a;N:Zintermediary field_7685Lnet/minecraft/class_347$class_350;field_7685:Znamed numericLnet/minecraft/client/options/GameOptions$Option;numeric:Z
-
booleanToggle
private final boolean booleanToggle- Mappings:
Namespace Name Mixin selector official OLbeu$a;O:Zintermediary field_7686Lnet/minecraft/class_347$class_350;field_7686:Znamed booleanToggleLnet/minecraft/client/options/GameOptions$Option;booleanToggle:Z
-
name
- Mappings:
Namespace Name Mixin selector official PLbeu$a;P:Ljava/lang/String;intermediary field_7687Lnet/minecraft/class_347$class_350;field_7687:Ljava/lang/String;named nameLnet/minecraft/client/options/GameOptions$Option;name:Ljava/lang/String;
-
step
private final float step- Mappings:
Namespace Name Mixin selector official QLbeu$a;Q:Fintermediary field_7688Lnet/minecraft/class_347$class_350;field_7688:Fnamed stepLnet/minecraft/client/options/GameOptions$Option;step:F
-
min
private float min- Mappings:
Namespace Name Mixin selector official RLbeu$a;R:Fintermediary field_7689Lnet/minecraft/class_347$class_350;field_7689:Fnamed minLnet/minecraft/client/options/GameOptions$Option;min:F
-
max
private float max- Mappings:
Namespace Name Mixin selector official SLbeu$a;S:Fintermediary field_7690Lnet/minecraft/class_347$class_350;field_7690:Fnamed maxLnet/minecraft/client/options/GameOptions$Option;max:F
-
-
Constructor Details
-
Option
- Mappings:
Namespace Name Mixin selector official <init>Lbeu$a;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)Vintermediary <init>Lnet/minecraft/class_347$class_350;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)Vnamed <init>Lnet/minecraft/client/options/GameOptions$Option;<init>(Ljava/lang/String;ILjava/lang/String;ZZ)V
-
Option
private Option(String name, boolean numeric, boolean booleanToggle, float min, float max, float increment) - Mappings:
Namespace Name Mixin selector official <init>Lbeu$a;<init>(Ljava/lang/String;ILjava/lang/String;ZZFFF)Vintermediary <init>Lnet/minecraft/class_347$class_350;<init>(Ljava/lang/String;ILjava/lang/String;ZZFFF)Vnamed <init>Lnet/minecraft/client/options/GameOptions$Option;<init>(Ljava/lang/String;ILjava/lang/String;ZZFFF)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
byOrdinal
- Mappings:
Namespace Name Mixin selector official aLbeu$a;a(I)Lbeu$a;intermediary method_880Lnet/minecraft/class_347$class_350;method_880(I)Lnet/minecraft/class_347$class_350;named byOrdinalLnet/minecraft/client/options/GameOptions$Option;byOrdinal(I)Lnet/minecraft/client/options/GameOptions$Option;
-
isNumeric
public boolean isNumeric()- Mappings:
Namespace Name Mixin selector official aLbeu$a;a()Zintermediary method_879Lnet/minecraft/class_347$class_350;method_879()Znamed isNumericLnet/minecraft/client/options/GameOptions$Option;isNumeric()Z
-
isBooleanToggle
public boolean isBooleanToggle()- Mappings:
Namespace Name Mixin selector official bLbeu$a;b()Zintermediary method_881Lnet/minecraft/class_347$class_350;method_881()Znamed isBooleanToggleLnet/minecraft/client/options/GameOptions$Option;isBooleanToggle()Z
-
getOrdinal
public int getOrdinal()- Mappings:
Namespace Name Mixin selector official cLbeu$a;c()Iintermediary method_882Lnet/minecraft/class_347$class_350;method_882()Inamed getOrdinalLnet/minecraft/client/options/GameOptions$Option;getOrdinal()I
-
getName
- Mappings:
Namespace Name Mixin selector official dLbeu$a;d()Ljava/lang/String;intermediary method_883Lnet/minecraft/class_347$class_350;method_883()Ljava/lang/String;named getNameLnet/minecraft/client/options/GameOptions$Option;getName()Ljava/lang/String;
-
method_12152
public float method_12152()- Mappings:
Namespace Name Mixin selector official eLbeu$a;e()Fintermediary method_12152Lnet/minecraft/class_347$class_350;method_12152()Fnamed method_12152Lnet/minecraft/client/options/GameOptions$Option;method_12152()F
-
getMaxValue
public float getMaxValue()- Mappings:
Namespace Name Mixin selector official fLbeu$a;f()Fintermediary method_6663Lnet/minecraft/class_347$class_350;method_6663()Fnamed getMaxValueLnet/minecraft/client/options/GameOptions$Option;getMaxValue()F
-
setMaxValue
public void setMaxValue(float max) - Mappings:
Namespace Name Mixin selector official aLbeu$a;a(F)Vintermediary method_6658Lnet/minecraft/class_347$class_350;method_6658(F)Vnamed setMaxValueLnet/minecraft/client/options/GameOptions$Option;setMaxValue(F)V
-
getRatio
public float getRatio(float value) - Mappings:
Namespace Name Mixin selector official cLbeu$a;c(F)Fintermediary method_6660Lnet/minecraft/class_347$class_350;method_6660(F)Fnamed getRatioLnet/minecraft/client/options/GameOptions$Option;getRatio(F)F
-
getValue
public float getValue(float ratio) - Mappings:
Namespace Name Mixin selector official dLbeu$a;d(F)Fintermediary method_6661Lnet/minecraft/class_347$class_350;method_6661(F)Fnamed getValueLnet/minecraft/client/options/GameOptions$Option;getValue(F)F
-
adjust
public float adjust(float value) - Mappings:
Namespace Name Mixin selector official eLbeu$a;e(F)Fintermediary method_6662Lnet/minecraft/class_347$class_350;method_6662(F)Fnamed adjustLnet/minecraft/client/options/GameOptions$Option;adjust(F)F
-
round
private float round(float value) - Mappings:
Namespace Name Mixin selector official fLbeu$a;f(F)Fintermediary method_6664Lnet/minecraft/class_347$class_350;method_6664(F)Fnamed roundLnet/minecraft/client/options/GameOptions$Option;round(F)F
-