Enum Class DecayWorldConfigBehavior

java.lang.Object
java.lang.Enum<DecayWorldConfigBehavior>
etithespirit.orimod.common.block.decay.DecayWorldConfigBehavior
All Implemented Interfaces:
Serializable, Comparable<DecayWorldConfigBehavior>, Constable

public enum DecayWorldConfigBehavior extends Enum<DecayWorldConfigBehavior>
Config that Decay blocks must follow when doing their decayish things.
  • Enum Constant Details

    • ALLOW_SPREADING

      public static final DecayWorldConfigBehavior ALLOW_SPREADING
      This decay block is allowed to spread completely unlimited. Extremely dangerous in this state.
    • NO_SPREADING

      public static final DecayWorldConfigBehavior 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

      public static final DecayWorldConfigBehavior 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

      public static DecayWorldConfigBehavior[] 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

      public static DecayWorldConfigBehavior valueOf(String name)
      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 name
      NullPointerException - if the argument is null