Enum Class MoveSkill.EnumTargetType
java.lang.Object
java.lang.Enum<MoveSkill.EnumTargetType>
com.pixelmonmod.pixelmon.api.moveskills.MoveSkill.EnumTargetType
- All Implemented Interfaces:
Serializable
,Comparable<MoveSkill.EnumTargetType>
,Constable
- Enclosing class:
- MoveSkill
The types of targets that an external move can target.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsable on a specific block.Usable on any living entity.Usable without a target.Usable specifically on a player entity.Usable specifically on a Pokémon entity. -
Method Summary
Modifier and TypeMethodDescriptionstatic MoveSkill.EnumTargetType
Returns the enum constant of this class with the specified name.static MoveSkill.EnumTargetType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTHING
Usable without a target. -
BLOCK
Usable on a specific block. -
POKEMON
Usable specifically on a Pokémon entity. -
PLAYER
Usable specifically on a player entity. -
MISC_ENTITY
Usable on any living entity.
-
-
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
-