Enum Class LayerManager.Type

java.lang.Object
java.lang.Enum<LayerManager.Type>
fr.rodofire.ewc.shape.block.layer.LayerManager.Type
All Implemented Interfaces:
Serializable, Comparable<LayerManager.Type>, Constable
Enclosing class:
LayerManager

public static enum LayerManager.Type extends Enum<LayerManager.Type>
change how the blocks are put
  • Enum Constant Details

    • SURFACE

      public static final LayerManager.Type SURFACE
      for a natural aspect, Put the first BlockStates on top of the structure for a coordinate x and z, and until it reaches the depth of the layer
    • INNER_RADIAL

      public static final LayerManager.Type INNER_RADIAL
      place the blocks in a sphere shape, first layer being placed at the center
    • OUTER_RADIAL

      public static final LayerManager.Type OUTER_RADIAL
      place the blocks in a sphere shape, the last layer being placed at the center
    • INNER_CYLINDRICAL

      public static final LayerManager.Type INNER_CYLINDRICAL
      place the blocks in a cylindrical shape, the first layer being placed at the center
    • OUTER_CYLINDRICAL

      public static final LayerManager.Type OUTER_CYLINDRICAL
      place the blocks in a cylindrical shape, the last layer being placed near the center
    • ALONG_DIRECTION

      public static final LayerManager.Type ALONG_DIRECTION
      place the blocks on a plan the plan is defined by the vector "directionalLayerDirection"
  • Method Details

    • values

      public static LayerManager.Type[] 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 LayerManager.Type 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