Package net.minecraft.entity.mob
Enum IllagerEntity.State
- All Implemented Interfaces:
Serializable
,Comparable<IllagerEntity.State>
,java.lang.constant.Constable
- Enclosing class:
- IllagerEntity
@Environment(CLIENT) public static enum IllagerEntity.State extends Enum<IllagerEntity.State>
- Mappings:
Namespace Name official ben$a
intermediary net/minecraft/class_1543$class_1544
named net/minecraft/entity/mob/IllagerEntity$State
-
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 ATTACKING
BOW_AND_ARROW
CELEBRATING
CROSSBOW_CHARGE
CROSSBOW_HOLD
CROSSED
NEUTRAL
SPELLCASTING
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
Modifier and Type Method Description static IllagerEntity.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static IllagerEntity.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CROSSED
- Mappings:
Namespace Name Mixin selector official a
Lben$a;a:Lben$a;
intermediary field_7207
Lnet/minecraft/class_1543$class_1544;field_7207:Lnet/minecraft/class_1543$class_1544;
named CROSSED
Lnet/minecraft/entity/mob/IllagerEntity$State;CROSSED:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
ATTACKING
- Mappings:
Namespace Name Mixin selector official b
Lben$a;b:Lben$a;
intermediary field_7211
Lnet/minecraft/class_1543$class_1544;field_7211:Lnet/minecraft/class_1543$class_1544;
named ATTACKING
Lnet/minecraft/entity/mob/IllagerEntity$State;ATTACKING:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
SPELLCASTING
- Mappings:
Namespace Name Mixin selector official c
Lben$a;c:Lben$a;
intermediary field_7212
Lnet/minecraft/class_1543$class_1544;field_7212:Lnet/minecraft/class_1543$class_1544;
named SPELLCASTING
Lnet/minecraft/entity/mob/IllagerEntity$State;SPELLCASTING:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
BOW_AND_ARROW
- Mappings:
Namespace Name Mixin selector official d
Lben$a;d:Lben$a;
intermediary field_7208
Lnet/minecraft/class_1543$class_1544;field_7208:Lnet/minecraft/class_1543$class_1544;
named BOW_AND_ARROW
Lnet/minecraft/entity/mob/IllagerEntity$State;BOW_AND_ARROW:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
CROSSBOW_HOLD
- Mappings:
Namespace Name Mixin selector official e
Lben$a;e:Lben$a;
intermediary field_7213
Lnet/minecraft/class_1543$class_1544;field_7213:Lnet/minecraft/class_1543$class_1544;
named CROSSBOW_HOLD
Lnet/minecraft/entity/mob/IllagerEntity$State;CROSSBOW_HOLD:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
CROSSBOW_CHARGE
- Mappings:
Namespace Name Mixin selector official f
Lben$a;f:Lben$a;
intermediary field_7210
Lnet/minecraft/class_1543$class_1544;field_7210:Lnet/minecraft/class_1543$class_1544;
named CROSSBOW_CHARGE
Lnet/minecraft/entity/mob/IllagerEntity$State;CROSSBOW_CHARGE:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
CELEBRATING
- Mappings:
Namespace Name Mixin selector official g
Lben$a;g:Lben$a;
intermediary field_19012
Lnet/minecraft/class_1543$class_1544;field_19012:Lnet/minecraft/class_1543$class_1544;
named CELEBRATING
Lnet/minecraft/entity/mob/IllagerEntity$State;CELEBRATING:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
NEUTRAL
- Mappings:
Namespace Name Mixin selector official h
Lben$a;h:Lben$a;
intermediary field_21512
Lnet/minecraft/class_1543$class_1544;field_21512:Lnet/minecraft/class_1543$class_1544;
named NEUTRAL
Lnet/minecraft/entity/mob/IllagerEntity$State;NEUTRAL:Lnet/minecraft/entity/mob/IllagerEntity$State;
-
-
Constructor Details
-
State
private State()
-
-
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
-