Enum Class ShapePlaceType.LayerPlace
java.lang.Object
java.lang.Enum<ShapePlaceType.LayerPlace>
net.rodofire.easierworldcreator.shapeutil.ShapePlaceType.LayerPlace
- All Implemented Interfaces:
Serializable,Comparable<ShapePlaceType.LayerPlace>,Constable
- Enclosing class:
ShapePlaceType
set how the blocks/particles will be chosen inside a layer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionwill place the Block/Particle according to a 2d noisewill place the Block/Particle according to a 3d noisewill place the first Block/particle in the layer, then the second, then the third, in the orderwill choose random Block/Particle in the layer -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapePlaceType.LayerPlaceReturns the enum constant of this class with the specified name.static ShapePlaceType.LayerPlace[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RANDOM
will choose random Block/Particle in the layer -
ORDER
will place the first Block/particle in the layer, then the second, then the third, in the order -
NOISE2D
will place the Block/Particle according to a 2d noise -
NOISE3D
will place the Block/Particle according to a 3d noise
-
-
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
-