Enum Class DecayWorldConfigBehavior
java.lang.Object
java.lang.Enum<DecayWorldConfigBehavior>
etithespirit.orimod.common.block.decay.DecayWorldConfigBehavior
- All Implemented Interfaces:
Serializable
,Comparable<DecayWorldConfigBehavior>
,Constable
Config that Decay blocks must follow when doing their decayish things.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis decay block is allowed to spread completely unlimited.This decay block is not allowed to exist in the world.This decay block can exist in the world, but cannot spread or infect nearby blocks. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
final int
final boolean
-
Method Summary
Modifier and TypeMethodDescriptionstatic DecayWorldConfigBehavior
Returns the enum constant of this class with the specified name.static DecayWorldConfigBehavior[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOW_SPREADING
This decay block is allowed to spread completely unlimited. Extremely dangerous in this state. -
NO_SPREADING
This decay block can exist in the world, but cannot spread or infect nearby blocks. It can still afflict entities with the Decay effect. -
NO_EXISTING
This decay block is not allowed to exist in the world. It will destroy itself on the next available random tick, and cannot afflict entities with any effects.
-
-
Field Details
-
canSpread
public final boolean canSpread -
selfDestructs
public final boolean selfDestructs -
permissiveness
public final int permissiveness
-
-
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
-