Package net.minecraft.entity.mob
Enum Class PiglinActivity
- All Implemented Interfaces:
Serializable,Comparable<PiglinActivity>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/mob/PiglinActivityintermediary net/minecraft/class_4837official clp
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PiglinActivityReturns the enum constant of this class with the specified name.static PiglinActivity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTACKING_WITH_MELEE_WEAPON
- Mappings:
Namespace Name Mixin selector named ATTACKING_WITH_MELEE_WEAPONLnet/minecraft/entity/mob/PiglinActivity;ATTACKING_WITH_MELEE_WEAPON:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_25165Lnet/minecraft/class_4837;field_25165:Lnet/minecraft/class_4837;official aLclp;a:Lclp;
-
CROSSBOW_HOLD
- Mappings:
Namespace Name Mixin selector named CROSSBOW_HOLDLnet/minecraft/entity/mob/PiglinActivity;CROSSBOW_HOLD:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_22383Lnet/minecraft/class_4837;field_22383:Lnet/minecraft/class_4837;official bLclp;b:Lclp;
-
CROSSBOW_CHARGE
- Mappings:
Namespace Name Mixin selector named CROSSBOW_CHARGELnet/minecraft/entity/mob/PiglinActivity;CROSSBOW_CHARGE:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_22384Lnet/minecraft/class_4837;field_22384:Lnet/minecraft/class_4837;official cLclp;c:Lclp;
-
ADMIRING_ITEM
- Mappings:
Namespace Name Mixin selector named ADMIRING_ITEMLnet/minecraft/entity/mob/PiglinActivity;ADMIRING_ITEM:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_22385Lnet/minecraft/class_4837;field_22385:Lnet/minecraft/class_4837;official dLclp;d:Lclp;
-
DANCING
- Mappings:
Namespace Name Mixin selector named DANCINGLnet/minecraft/entity/mob/PiglinActivity;DANCING:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_25166Lnet/minecraft/class_4837;field_25166:Lnet/minecraft/class_4837;official eLclp;e:Lclp;
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/entity/mob/PiglinActivity;DEFAULT:Lnet/minecraft/entity/mob/PiglinActivity;intermediary field_22386Lnet/minecraft/class_4837;field_22386:Lnet/minecraft/class_4837;official fLclp;f:Lclp;
-
-
Constructor Details
-
PiglinActivity
private PiglinActivity()
-
-
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
-