Enum Class LayerManager.Type
- All Implemented Interfaces:
Serializable,Comparable<LayerManager.Type>,Constable
- Enclosing class:
LayerManager
change how the blocks are put
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionplace the blocks on a plan the plan is defined by the vector "directionalLayerDirection"place the blocks in a cylindrical shape, the first layer being placed at the centerplace the blocks in a sphere shape, first layer being placed at the centerplace the blocks in a cylindrical shape, the last layer being placed near the centerplace the blocks in a sphere shape, the last layer being placed at the centerfor 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerManager.TypeReturns the enum constant of this class with the specified name.static LayerManager.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
place the blocks in a sphere shape, first layer being placed at the center -
OUTER_RADIAL
place the blocks in a sphere shape, the last layer being placed at the center -
INNER_CYLINDRICAL
place the blocks in a cylindrical shape, the first layer being placed at the center -
OUTER_CYLINDRICAL
place the blocks in a cylindrical shape, the last layer being placed near the center -
ALONG_DIRECTION
place the blocks on a plan the plan is defined by the vector "directionalLayerDirection"
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-