Package net.minecraft.client.option
Enum Class ParticlesMode
- All Implemented Interfaces:
Serializable
,Comparable<ParticlesMode>
,Constable
- Mappings:
Namespace Name official dvt
intermediary net/minecraft/class_4066
named 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
Modifier and TypeFieldDescriptionprivate final int
private final String
private static final ParticlesMode[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticlesMode
byId
(int id) int
getId()
static ParticlesMode
Returns 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.
-
Enum Constant Details
-
ALL
- Mappings:
Namespace Name Mixin selector official a
Ldvt;a:Ldvt;
intermediary field_18197
Lnet/minecraft/class_4066;field_18197:Lnet/minecraft/class_4066;
named ALL
Lnet/minecraft/client/option/ParticlesMode;ALL:Lnet/minecraft/client/option/ParticlesMode;
-
DECREASED
- Mappings:
Namespace Name Mixin selector official b
Ldvt;b:Ldvt;
intermediary field_18198
Lnet/minecraft/class_4066;field_18198:Lnet/minecraft/class_4066;
named DECREASED
Lnet/minecraft/client/option/ParticlesMode;DECREASED:Lnet/minecraft/client/option/ParticlesMode;
-
MINIMAL
- Mappings:
Namespace Name Mixin selector official c
Ldvt;c:Ldvt;
intermediary field_18199
Lnet/minecraft/class_4066;field_18199:Lnet/minecraft/class_4066;
named MINIMAL
Lnet/minecraft/client/option/ParticlesMode;MINIMAL:Lnet/minecraft/client/option/ParticlesMode;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official d
Ldvt;d:[Ldvt;
intermediary field_18200
Lnet/minecraft/class_4066;field_18200:[Lnet/minecraft/class_4066;
named VALUES
Lnet/minecraft/client/option/ParticlesMode;VALUES:[Lnet/minecraft/client/option/ParticlesMode;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Ldvt;e:I
intermediary field_18201
Lnet/minecraft/class_4066;field_18201:I
named id
Lnet/minecraft/client/option/ParticlesMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official f
Ldvt;f:Ljava/lang/String;
intermediary field_18202
Lnet/minecraft/class_4066;field_18202:Ljava/lang/String;
named translationKey
Lnet/minecraft/client/option/ParticlesMode;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ParticlesMode
- Mappings:
Namespace Name Mixin selector official <init>
Ldvt;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4066;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <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 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
- Mappings:
Namespace Name Mixin selector official a
Ldvt;a()Ljava/lang/String;
intermediary method_18607
Lnet/minecraft/class_4066;method_18607()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/client/option/ParticlesMode;getTranslationKey()Ljava/lang/String;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official b
Ldvt;b()I
intermediary method_18609
Lnet/minecraft/class_4066;method_18609()I
named getId
Lnet/minecraft/client/option/ParticlesMode;getId()I
-
byId
- Mappings:
Namespace Name Mixin selector official a
Ldvt;a(I)Ldvt;
intermediary method_18608
Lnet/minecraft/class_4066;method_18608(I)Lnet/minecraft/class_4066;
named byId
Lnet/minecraft/client/option/ParticlesMode;byId(I)Lnet/minecraft/client/option/ParticlesMode;
-