Package net.minecraft.particle
Enum Class ParticlesMode
- All Implemented Interfaces:
Serializable
,Comparable<ParticlesMode>
,Constable
,TranslatableOption
- Mappings:
Namespace Name named net/minecraft/particle/ParticlesMode
intermediary net/minecraft/class_4066
official arz
-
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 static final IntFunction
<ParticlesMode> private final int
private final String
-
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
ALL
- Mappings:
Namespace Name Mixin selector named ALL
Lnet/minecraft/particle/ParticlesMode;ALL:Lnet/minecraft/particle/ParticlesMode;
intermediary field_18197
Lnet/minecraft/class_4066;field_18197:Lnet/minecraft/class_4066;
official a
Larz;a:Larz;
-
DECREASED
- Mappings:
Namespace Name Mixin selector named DECREASED
Lnet/minecraft/particle/ParticlesMode;DECREASED:Lnet/minecraft/particle/ParticlesMode;
intermediary field_18198
Lnet/minecraft/class_4066;field_18198:Lnet/minecraft/class_4066;
official b
Larz;b:Larz;
-
MINIMAL
- Mappings:
Namespace Name Mixin selector named MINIMAL
Lnet/minecraft/particle/ParticlesMode;MINIMAL:Lnet/minecraft/particle/ParticlesMode;
intermediary field_18199
Lnet/minecraft/class_4066;field_18199:Lnet/minecraft/class_4066;
official c
Larz;c:Larz;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_ID
Lnet/minecraft/particle/ParticlesMode;BY_ID:Ljava/util/function/IntFunction;
intermediary field_18200
Lnet/minecraft/class_4066;field_18200:Ljava/util/function/IntFunction;
official d
Larz;d:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/particle/ParticlesMode;id:I
intermediary field_18201
Lnet/minecraft/class_4066;field_18201:I
official e
Larz;e:I
-
translationKey
- Mappings:
Namespace Name Mixin selector named translationKey
Lnet/minecraft/particle/ParticlesMode;translationKey:Ljava/lang/String;
intermediary field_18202
Lnet/minecraft/class_4066;field_18202:Ljava/lang/String;
official f
Larz;f:Ljava/lang/String;
-
-
Constructor Details
-
ParticlesMode
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/particle/ParticlesMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_4066;<init>(Ljava/lang/String;IILjava/lang/String;)V
official <init>
Larz;<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:
getTranslationKey
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector named getTranslationKey
Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
official a
Lbah;a()Ljava/lang/String;
-
getId
public int getId()- Specified by:
getId
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/util/TranslatableOption;getId()I
intermediary method_7362
Lnet/minecraft/class_7291;method_7362()I
official b
Lbah;b()I
-
byId
- Mappings:
Namespace Name Mixin selector named byId
Lnet/minecraft/particle/ParticlesMode;byId(I)Lnet/minecraft/particle/ParticlesMode;
intermediary method_18608
Lnet/minecraft/class_4066;method_18608(I)Lnet/minecraft/class_4066;
official a
Larz;a(I)Larz;
-