Enum Class AbstractBlockShapeLayer.LayersType

java.lang.Object
java.lang.Enum<AbstractBlockShapeLayer.LayersType>
net.rodofire.easierworldcreator.shape.block.instanciator.AbstractBlockShapeLayer.LayersType
All Implemented Interfaces:
Serializable, Comparable<AbstractBlockShapeLayer.LayersType>, Constable
Enclosing class:
AbstractBlockShapeLayer

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

    • SURFACE

      public static final AbstractBlockShapeLayer.LayersType 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 AbstractBlockShapeLayer.LayersType INNER_RADIAL
      place the blocks in a sphere shape, first layer being placed at the center
    • OUTER_RADIAL

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

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

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

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

    • values

      public static AbstractBlockShapeLayer.LayersType[] 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 AbstractBlockShapeLayer.LayersType 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