Enum Class Shape.LayersType

java.lang.Object
java.lang.Enum<Shape.LayersType>
net.rodofire.easierworldcreator.shapeutil.Shape.LayersType
All Implemented Interfaces:
Serializable, Comparable<Shape.LayersType>, Constable
Enclosing class:
Shape

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

    • SURFACE

      public static final Shape.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
    • RADIAL

      public static final Shape.LayersType RADIAL
    • CYLINDRICAL

      public static final Shape.LayersType CYLINDRICAL
    • ALONG_DIRECTION

      public static final Shape.LayersType ALONG_DIRECTION
  • Method Details

    • values

      public static Shape.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 Shape.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