Enum Class ParticlesMode

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

public enum ParticlesMode extends Enum<ParticlesMode>
Mappings:
Namespace Name
named net/minecraft/particle/ParticlesMode
intermediary net/minecraft/class_4066
official awx
  • Enum Constant Details

    • ALL

      public static final ParticlesMode 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 Lawx;a:Lawx;
    • DECREASED

      public static final ParticlesMode 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 Lawx;b:Lawx;
    • MINIMAL

      public static final ParticlesMode 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 Lawx;c:Lawx;
  • Field Details

    • BY_ID

      private static final IntFunction<ParticlesMode> 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 e Lawx;e:Ljava/util/function/IntFunction;
    • field_64259

      public static final com.mojang.serialization.Codec<ParticlesMode> field_64259
      Mappings:
      Namespace Name Mixin selector
      named field_64259 Lnet/minecraft/particle/ParticlesMode;field_64259:Lcom/mojang/serialization/Codec;
      intermediary field_64259 Lnet/minecraft/class_4066;field_64259:Lcom/mojang/serialization/Codec;
      official d Lawx;d:Lcom/mojang/serialization/Codec;
    • 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 f Lawx;f:I
    • field_64260

      private final Text field_64260
      Mappings:
      Namespace Name Mixin selector
      named field_64260 Lnet/minecraft/particle/ParticlesMode;field_64260:Lnet/minecraft/text/Text;
      intermediary field_64260 Lnet/minecraft/class_4066;field_64260:Lnet/minecraft/class_2561;
      official g Lawx;g:Lyh;
  • Constructor Details

    • ParticlesMode

      private ParticlesMode(int id, String translationKey)
      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> Lawx;<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
    • method_76329

      public Text method_76329()
      Mappings:
      Namespace Name Mixin selector
      named method_76329 Lnet/minecraft/particle/ParticlesMode;method_76329()Lnet/minecraft/text/Text;
      intermediary method_76329 Lnet/minecraft/class_4066;method_76329()Lnet/minecraft/class_2561;
      official a Lawx;a()Lyh;