Enum Class ParticlesMode

java.lang.Object
java.lang.Enum<ParticlesMode>
net.minecraft.client.option.ParticlesMode
All Implemented Interfaces:
Serializable, Comparable<ParticlesMode>, Constable, TranslatableOption

@Environment(CLIENT) public enum ParticlesMode extends Enum<ParticlesMode> implements TranslatableOption
Mappings:
Namespace Name
official ejk
intermediary net/minecraft/class_4066
named net/minecraft/client/option/ParticlesMode
  • Enum Constant Details

    • ALL

      public static final ParticlesMode ALL
      Mappings:
      Namespace Name Mixin selector
      official a Lejk;a:Lejk;
      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

      public static final ParticlesMode DECREASED
      Mappings:
      Namespace Name Mixin selector
      official b Lejk;b:Lejk;
      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

      public static final ParticlesMode MINIMAL
      Mappings:
      Namespace Name Mixin selector
      official c Lejk;c:Lejk;
      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

    • BY_ID

      private static final IntFunction<ParticlesMode> BY_ID
      Mappings:
      Namespace Name Mixin selector
      official d Lejk;d:Ljava/util/function/IntFunction;
      intermediary field_18200 Lnet/minecraft/class_4066;field_18200:Ljava/util/function/IntFunction;
      named BY_ID Lnet/minecraft/client/option/ParticlesMode;BY_ID:Ljava/util/function/IntFunction;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official e Lejk;e:I
      intermediary field_18201 Lnet/minecraft/class_4066;field_18201:I
      named id Lnet/minecraft/client/option/ParticlesMode;id:I
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official f Lejk;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

      private ParticlesMode(int id, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejk;<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

      public static ParticlesMode[] 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

      public static ParticlesMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      official b Laoe;b()Ljava/lang/String;
      intermediary method_7359 Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
    • getId

      public int getId()
      Specified by:
      getId in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      official a Laoe;a()I
      intermediary method_7362 Lnet/minecraft/class_7291;method_7362()I
      named getId Lnet/minecraft/util/TranslatableOption;getId()I
    • byId

      public static ParticlesMode byId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lejk;a(I)Lejk;
      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;