Enum StatusEffectType

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

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

    • BENEFICIAL

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

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

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

    • formatting

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

    • StatusEffectType

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

    • values

      public static StatusEffectType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static StatusEffectType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getFormatting

      @Environment(CLIENT) public Formatting getFormatting()
      Mappings:
      Namespace Name Mixin selector
      official a Laqo;a()Lk;
      intermediary method_18793 Lnet/minecraft/class_4081;method_18793()Lnet/minecraft/class_124;
      named getFormatting Lnet/minecraft/entity/effect/StatusEffectType;getFormatting()Lnet/minecraft/util/Formatting;