Package net.minecraft.entity.mob
Enum PiglinActivity
- All Implemented Interfaces:
Serializable
,Comparable<PiglinActivity>
,java.lang.constant.Constable
public enum PiglinActivity extends Enum<PiglinActivity>
- Mappings:
Namespace Name official bgj
intermediary net/minecraft/class_4837
named net/minecraft/entity/mob/PiglinActivity
-
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 ADMIRING_ITEM
ATTACKING_WITH_MELEE_WEAPON
CROSSBOW_CHARGE
CROSSBOW_HOLD
DANCING
DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description private
PiglinActivity()
-
Method Summary
Modifier and Type Method Description static PiglinActivity
valueOf(String name)
Returns the enum constant of this type with the specified name.static PiglinActivity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTACKING_WITH_MELEE_WEAPON
- Mappings:
Namespace Name Mixin selector official a
Lbgj;a:Lbgj;
intermediary field_25165
Lnet/minecraft/class_4837;field_25165:Lnet/minecraft/class_4837;
named ATTACKING_WITH_MELEE_WEAPON
Lnet/minecraft/entity/mob/PiglinActivity;ATTACKING_WITH_MELEE_WEAPON:Lnet/minecraft/entity/mob/PiglinActivity;
-
CROSSBOW_HOLD
- Mappings:
Namespace Name Mixin selector official b
Lbgj;b:Lbgj;
intermediary field_22383
Lnet/minecraft/class_4837;field_22383:Lnet/minecraft/class_4837;
named CROSSBOW_HOLD
Lnet/minecraft/entity/mob/PiglinActivity;CROSSBOW_HOLD:Lnet/minecraft/entity/mob/PiglinActivity;
-
CROSSBOW_CHARGE
- Mappings:
Namespace Name Mixin selector official c
Lbgj;c:Lbgj;
intermediary field_22384
Lnet/minecraft/class_4837;field_22384:Lnet/minecraft/class_4837;
named CROSSBOW_CHARGE
Lnet/minecraft/entity/mob/PiglinActivity;CROSSBOW_CHARGE:Lnet/minecraft/entity/mob/PiglinActivity;
-
ADMIRING_ITEM
- Mappings:
Namespace Name Mixin selector official d
Lbgj;d:Lbgj;
intermediary field_22385
Lnet/minecraft/class_4837;field_22385:Lnet/minecraft/class_4837;
named ADMIRING_ITEM
Lnet/minecraft/entity/mob/PiglinActivity;ADMIRING_ITEM:Lnet/minecraft/entity/mob/PiglinActivity;
-
DANCING
- Mappings:
Namespace Name Mixin selector official e
Lbgj;e:Lbgj;
intermediary field_25166
Lnet/minecraft/class_4837;field_25166:Lnet/minecraft/class_4837;
named DANCING
Lnet/minecraft/entity/mob/PiglinActivity;DANCING:Lnet/minecraft/entity/mob/PiglinActivity;
-
DEFAULT
- Mappings:
Namespace Name Mixin selector official f
Lbgj;f:Lbgj;
intermediary field_22386
Lnet/minecraft/class_4837;field_22386:Lnet/minecraft/class_4837;
named DEFAULT
Lnet/minecraft/entity/mob/PiglinActivity;DEFAULT:Lnet/minecraft/entity/mob/PiglinActivity;
-
-
Constructor Details
-
PiglinActivity
private PiglinActivity()
-
-
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
-