Package vazkii.botania.api.mana
Enum Class ManaCollisionGhost.Behaviour
- All Implemented Interfaces:
Serializable,Comparable<ManaCollisionGhost.Behaviour>,Constable
- Enclosing interface:
ManaCollisionGhost
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRun all collision logic, including transferring mana, activatingManaTrigger, calling Lenses, etc.Only transfer mana and activateManaTrigger, do not run any other behaviour such as killing the burst and calling Lenses.Skip all collision logic, the burst acts as if this block did not exist -
Method Summary
Modifier and TypeMethodDescriptionstatic ManaCollisionGhost.BehaviourReturns the enum constant of this class with the specified name.static ManaCollisionGhost.Behaviour[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SKIP_ALL
Skip all collision logic, the burst acts as if this block did not exist -
RUN_ALL
Run all collision logic, including transferring mana, activatingManaTrigger, calling Lenses, etc. -
RUN_RECEIVER_TRIGGER
Only transfer mana and activateManaTrigger, do not run any other behaviour such as killing the burst and calling Lenses.
-
-
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
-