Package de.Keyle.MyPet.api.skill.skills
Enum Class Ranged.Projectile
- All Implemented Interfaces:
Serializable,Comparable<Ranged.Projectile>,Constable
- Enclosing interface:
Ranged
Enumerates the projectile types the pet can fire with the Ranged skill.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLaunches an arrow.Launches a dragon fireball.Launches an egg.Launches an ender pearl.Launches a large fireball.Launches llama spit.Launches a small fireball.Launches a snowball.Launches a trident.Launches a wither skull. -
Method Summary
Modifier and TypeMethodDescriptionstatic Ranged.ProjectileReturns the enum constant of this class with the specified name.static Ranged.Projectile[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Arrow
Launches an arrow. -
Snowball
Launches a snowball. -
LargeFireball
Launches a large fireball. -
SmallFireball
Launches a small fireball. -
WitherSkull
Launches a wither skull. -
Egg
Launches an egg. -
DragonFireball
Launches a dragon fireball. -
Trident
Launches a trident. -
EnderPearl
Launches an ender pearl. -
LlamaSpit
Launches llama spit.
-
-
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
-