Package net.minecraft.client.option
Enum ParticlesMode
- All Implemented Interfaces:
Serializable,Comparable<ParticlesMode>,java.lang.constant.Constable
@Environment(CLIENT) public enum ParticlesMode extends Enum<ParticlesMode>
- Mappings:
Namespace Name official dqpintermediary net/minecraft/class_4066named net/minecraft/client/option/ParticlesMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private intidprivate StringtranslationKeyprivate static ParticlesMode[]VALUES -
Constructor Summary
Constructors Modifier Constructor Description privateParticlesMode(int id, String translationKey) -
Method Summary
Modifier and Type Method Description static ParticlesModebyId(int id)intgetId()StringgetTranslationKey()static ParticlesModevalueOf(String name)Returns the enum constant of this type with the specified name.static ParticlesMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
- Mappings:
Namespace Name Mixin selector official aLdqp;a:Ldqp;intermediary field_18197Lnet/minecraft/class_4066;field_18197:Lnet/minecraft/class_4066;named ALLLnet/minecraft/client/option/ParticlesMode;ALL:Lnet/minecraft/client/option/ParticlesMode;
-
DECREASED
- Mappings:
Namespace Name Mixin selector official bLdqp;b:Ldqp;intermediary field_18198Lnet/minecraft/class_4066;field_18198:Lnet/minecraft/class_4066;named DECREASEDLnet/minecraft/client/option/ParticlesMode;DECREASED:Lnet/minecraft/client/option/ParticlesMode;
-
MINIMAL
- Mappings:
Namespace Name Mixin selector official cLdqp;c:Ldqp;intermediary field_18199Lnet/minecraft/class_4066;field_18199:Lnet/minecraft/class_4066;named MINIMALLnet/minecraft/client/option/ParticlesMode;MINIMAL:Lnet/minecraft/client/option/ParticlesMode;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official dLdqp;d:[Ldqp;intermediary field_18200Lnet/minecraft/class_4066;field_18200:[Lnet/minecraft/class_4066;named VALUESLnet/minecraft/client/option/ParticlesMode;VALUES:[Lnet/minecraft/client/option/ParticlesMode;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLdqp;e:Iintermediary field_18201Lnet/minecraft/class_4066;field_18201:Inamed idLnet/minecraft/client/option/ParticlesMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official fLdqp;f:Ljava/lang/String;intermediary field_18202Lnet/minecraft/class_4066;field_18202:Ljava/lang/String;named translationKeyLnet/minecraft/client/option/ParticlesMode;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ParticlesMode
- Mappings:
Namespace Name Mixin selector official <init>Ldqp;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4066;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/option/ParticlesMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official aLdqp;a()Ljava/lang/String;intermediary method_18607Lnet/minecraft/class_4066;method_18607()Ljava/lang/String;named getTranslationKeyLnet/minecraft/client/option/ParticlesMode;getTranslationKey()Ljava/lang/String;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official bLdqp;b()Iintermediary method_18609Lnet/minecraft/class_4066;method_18609()Inamed getIdLnet/minecraft/client/option/ParticlesMode;getId()I
-
byId
- Mappings:
Namespace Name Mixin selector official aLdqp;a(I)Ldqp;intermediary method_18608Lnet/minecraft/class_4066;method_18608(I)Lnet/minecraft/class_4066;named byIdLnet/minecraft/client/option/ParticlesMode;byId(I)Lnet/minecraft/client/option/ParticlesMode;
-