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
named net/minecraft/entity/effect/StatusEffectCategory
intermediary net/minecraft/class_4081
official bsd
  • Enum Constant Details

    • BENEFICIAL

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

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

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

    • formatting

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

    • StatusEffectCategory

      private StatusEffectCategory(Formatting format)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/effect/StatusEffectCategory;<init>(Ljava/lang/String;ILnet/minecraft/util/Formatting;)V
      intermediary <init> Lnet/minecraft/class_4081;<init>(Ljava/lang/String;ILnet/minecraft/class_124;)V
      official <init> Lbsd;<init>(Ljava/lang/String;ILn;)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
      named getFormatting Lnet/minecraft/entity/effect/StatusEffectCategory;getFormatting()Lnet/minecraft/util/Formatting;
      intermediary method_18793 Lnet/minecraft/class_4081;method_18793()Lnet/minecraft/class_124;
      official a Lbsd;a()Ln;