Package net.minecraft.entity.effect
Enum 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BENEFICIAL
HARMFUL
NEUTRAL
-
Field Summary
Fields Modifier and Type Field Description private Formatting
formatting
-
Constructor Summary
Constructors Modifier Constructor Description private
StatusEffectType(Formatting format)
-
Method Summary
Modifier and Type Method Description Formatting
getFormatting()
static StatusEffectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusEffectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
- 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
- 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
- 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
- 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
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
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 nameNullPointerException
- if the argument is null
-
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;
-