Enum Class Preset.Placement

java.lang.Object
java.lang.Enum<Preset.Placement>
dev.despical.mazeengine.config.Preset.Placement
All Implemented Interfaces:
Serializable, Comparable<Preset.Placement>, Constable
Enclosing class:
Preset

public static enum Preset.Placement extends Enum<Preset.Placement>
Selects creation preflight rules for existing terrain.

CLEAR imposes no replaceable-material restriction. SAFE requires air above the floor and replaceable floor materials; REPLACE requires every non-air block to be configured as replaceable. All modes build the same final plan.

  • Enum Constant Details

  • Method Details

    • values

      public static Preset.Placement[] 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 Preset.Placement 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