Enum Class StatusEffectCategory

java.lang.Object
java.lang.Enum<StatusEffectCategory>
net.minecraft.entity.effect.StatusEffectCategory
All Implemented Interfaces:
Serializable, Comparable<StatusEffectCategory>, Constable

public enum StatusEffectCategory extends Enum<StatusEffectCategory>
Mappings:
Namespace Name
official bic
intermediary net/minecraft/class_4081
named net/minecraft/entity/effect/StatusEffectCategory
  • Enum Constant Details

    • BENEFICIAL

      public static final StatusEffectCategory BENEFICIAL
      Mappings:
      Namespace Name Mixin selector
      official a Lbic;a:Lbic;
      intermediary field_18271 Lnet/minecraft/class_4081;field_18271:Lnet/minecraft/class_4081;
      named BENEFICIAL Lnet/minecraft/entity/effect/StatusEffectCategory;BENEFICIAL:Lnet/minecraft/entity/effect/StatusEffectCategory;
    • HARMFUL

      public static final StatusEffectCategory HARMFUL
      Mappings:
      Namespace Name Mixin selector
      official b Lbic;b:Lbic;
      intermediary field_18272 Lnet/minecraft/class_4081;field_18272:Lnet/minecraft/class_4081;
      named HARMFUL Lnet/minecraft/entity/effect/StatusEffectCategory;HARMFUL:Lnet/minecraft/entity/effect/StatusEffectCategory;
    • NEUTRAL

      public static final StatusEffectCategory NEUTRAL
      Mappings:
      Namespace Name Mixin selector
      official c Lbic;c:Lbic;
      intermediary field_18273 Lnet/minecraft/class_4081;field_18273:Lnet/minecraft/class_4081;
      named NEUTRAL Lnet/minecraft/entity/effect/StatusEffectCategory;NEUTRAL:Lnet/minecraft/entity/effect/StatusEffectCategory;
  • Field Details

    • formatting

      private final Formatting formatting
      Mappings:
      Namespace Name Mixin selector
      official d Lbic;d:Ln;
      intermediary field_18274 Lnet/minecraft/class_4081;field_18274:Lnet/minecraft/class_124;
      named formatting Lnet/minecraft/entity/effect/StatusEffectCategory;formatting:Lnet/minecraft/util/Formatting;
  • Constructor Details

    • StatusEffectCategory

      private StatusEffectCategory(Formatting format)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbic;<init>(Ljava/lang/String;ILn;)V
      intermediary <init> Lnet/minecraft/class_4081;<init>(Ljava/lang/String;ILnet/minecraft/class_124;)V
      named <init> Lnet/minecraft/entity/effect/StatusEffectCategory;<init>(Ljava/lang/String;ILnet/minecraft/util/Formatting;)V
  • Method Details

    • values

      public static StatusEffectCategory[] 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 StatusEffectCategory 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
    • getFormatting

      public Formatting getFormatting()
      Mappings:
      Namespace Name Mixin selector
      official a Lbic;a()Ln;
      intermediary method_18793 Lnet/minecraft/class_4081;method_18793()Lnet/minecraft/class_124;
      named getFormatting Lnet/minecraft/entity/effect/StatusEffectCategory;getFormatting()Lnet/minecraft/util/Formatting;