Package net.minecraft.client.option
Enum Class ParticlesMode
- All Implemented Interfaces:
Serializable,Comparable<ParticlesMode>,Constable,TranslatableOption
@Environment(CLIENT)
public enum ParticlesMode
extends Enum<ParticlesMode>
implements TranslatableOption
- Mappings:
Namespace Name named net/minecraft/client/option/ParticlesModeintermediary net/minecraft/class_4066official fgt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IntFunction<ParticlesMode> private final intprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParticlesModebyId(int id) intgetId()static ParticlesModeReturns the enum constant of this class with the specified name.static ParticlesMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
ALL
- Mappings:
Namespace Name Mixin selector named ALLLnet/minecraft/client/option/ParticlesMode;ALL:Lnet/minecraft/client/option/ParticlesMode;intermediary field_18197Lnet/minecraft/class_4066;field_18197:Lnet/minecraft/class_4066;official aLfgt;a:Lfgt;
-
DECREASED
- Mappings:
Namespace Name Mixin selector named DECREASEDLnet/minecraft/client/option/ParticlesMode;DECREASED:Lnet/minecraft/client/option/ParticlesMode;intermediary field_18198Lnet/minecraft/class_4066;field_18198:Lnet/minecraft/class_4066;official bLfgt;b:Lfgt;
-
MINIMAL
- Mappings:
Namespace Name Mixin selector named MINIMALLnet/minecraft/client/option/ParticlesMode;MINIMAL:Lnet/minecraft/client/option/ParticlesMode;intermediary field_18199Lnet/minecraft/class_4066;field_18199:Lnet/minecraft/class_4066;official cLfgt;c:Lfgt;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/client/option/ParticlesMode;BY_ID:Ljava/util/function/IntFunction;intermediary field_18200Lnet/minecraft/class_4066;field_18200:Ljava/util/function/IntFunction;official dLfgt;d:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/option/ParticlesMode;id:Iintermediary field_18201Lnet/minecraft/class_4066;field_18201:Iofficial eLfgt;e:I
-
translationKey
- Mappings:
Namespace Name Mixin selector named translationKeyLnet/minecraft/client/option/ParticlesMode;translationKey:Ljava/lang/String;intermediary field_18202Lnet/minecraft/class_4066;field_18202:Ljava/lang/String;official fLfgt;f:Ljava/lang/String;
-
-
Constructor Details
-
ParticlesMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/option/ParticlesMode;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4066;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lfgt;<init>(Ljava/lang/String;IILjava/lang/String;)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
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getTranslationKeyLnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;intermediary method_7359Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;official bLayr;b()Ljava/lang/String;
-
getId
public int getId()- Specified by:
getIdin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/util/TranslatableOption;getId()Iintermediary method_7362Lnet/minecraft/class_7291;method_7362()Iofficial aLayr;a()I
-
byId
- Mappings:
Namespace Name Mixin selector named byIdLnet/minecraft/client/option/ParticlesMode;byId(I)Lnet/minecraft/client/option/ParticlesMode;intermediary method_18608Lnet/minecraft/class_4066;method_18608(I)Lnet/minecraft/class_4066;official aLfgt;a(I)Lfgt;
-