Package net.minecraft.entity.effect
Enum Class StatusEffectCategory
- All Implemented Interfaces:
Serializable,Comparable<StatusEffectCategory>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/effect/StatusEffectCategoryintermediary net/minecraft/class_4081official bry
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusEffectCategoryReturns the enum constant of this class with the specified name.static StatusEffectCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BENEFICIAL
- Mappings:
Namespace Name Mixin selector named BENEFICIALLnet/minecraft/entity/effect/StatusEffectCategory;BENEFICIAL:Lnet/minecraft/entity/effect/StatusEffectCategory;intermediary field_18271Lnet/minecraft/class_4081;field_18271:Lnet/minecraft/class_4081;official aLbry;a:Lbry;
-
HARMFUL
- Mappings:
Namespace Name Mixin selector named HARMFULLnet/minecraft/entity/effect/StatusEffectCategory;HARMFUL:Lnet/minecraft/entity/effect/StatusEffectCategory;intermediary field_18272Lnet/minecraft/class_4081;field_18272:Lnet/minecraft/class_4081;official bLbry;b:Lbry;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector named NEUTRALLnet/minecraft/entity/effect/StatusEffectCategory;NEUTRAL:Lnet/minecraft/entity/effect/StatusEffectCategory;intermediary field_18273Lnet/minecraft/class_4081;field_18273:Lnet/minecraft/class_4081;official cLbry;c:Lbry;
-
-
Field Details
-
formatting
- Mappings:
Namespace Name Mixin selector named formattingLnet/minecraft/entity/effect/StatusEffectCategory;formatting:Lnet/minecraft/util/Formatting;intermediary field_18274Lnet/minecraft/class_4081;field_18274:Lnet/minecraft/class_124;official dLbry;d:Ln;
-
-
Constructor Details
-
StatusEffectCategory
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/effect/StatusEffectCategory;<init>(Ljava/lang/String;ILnet/minecraft/util/Formatting;)Vintermediary <init>Lnet/minecraft/class_4081;<init>(Ljava/lang/String;ILnet/minecraft/class_124;)Vofficial <init>Lbry;<init>(Ljava/lang/String;ILn;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getFormatting
- Mappings:
Namespace Name Mixin selector named getFormattingLnet/minecraft/entity/effect/StatusEffectCategory;getFormatting()Lnet/minecraft/util/Formatting;intermediary method_18793Lnet/minecraft/class_4081;method_18793()Lnet/minecraft/class_124;official aLbry;a()Ln;
-