Package me.sciguymjm.uberenchant.utils
Enum Class UberEffects
- All Implemented Interfaces:
Serializable
,Comparable<UberEffects>
,Constable
Effects enum for use in UberEnchant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFor internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use.For internal use. -
Method Summary
Modifier and TypeMethodDescriptionstatic UberEffects
getByType
(org.bukkit.potion.PotionEffectType type) For internal use.static UberEffects
Returns the enum constant of this class with the specified name.static UberEffects[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPEED
For internal use. -
SLOW
For internal use. -
FAST_DIGGING
For internal use. -
SLOW_DIGGING
For internal use. -
INCREASE_DAMAGE
For internal use. -
HEAL
For internal use. -
HARM
For internal use. -
JUMP
For internal use. -
CONFUSION
For internal use. -
REGENERATION
For internal use. -
DAMAGE_RESISTANCE
For internal use. -
FIRE_RESISTANCE
For internal use. -
WATER_BREATHING
For internal use. -
INVISIBILITY
For internal use. -
BLINDNESS
For internal use. -
NIGHT_VISION
For internal use. -
HUNGER
For internal use. -
WEAKNESS
For internal use. -
POISON
For internal use. -
WITHER
For internal use. -
HEALTH_BOOST
For internal use. -
ABSORPTION
For internal use. -
SATURATION
For internal use. -
GLOWING
For internal use. -
LEVITATION
For internal use. -
LUCK
For internal use. -
UNLUCK
For internal use. -
SLOW_FALLING
For internal use. -
CONDUIT_POWER
For internal use. -
DOLPHINS_GRACE
For internal use. -
BAD_OMEN
For internal use. -
HERO_OF_THE_VILLAGE
For internal use. -
DARKNESS
For internal use.
-
-
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
-
getByType
For internal use.- Parameters:
type
- PotionEffectType- Returns:
- UberEffects
For internal use.
-