Enum Class ShapePlacer.PlaceMoment
java.lang.Object
java.lang.Enum<ShapePlacer.PlaceMoment>
net.rodofire.easierworldcreator.shape.block.placer.ShapePlacer.PlaceMoment
- All Implemented Interfaces:
Serializable,Comparable<ShapePlacer.PlaceMoment>,Constable
- Enclosing class:
ShapePlacer
Enum that define the moment of structure placing.
You have to be sure that what you choose is good, or you might run into issues
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionanimate the shape placementWill place all the structure at once.Place the structure during world generation. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShapePlacer.PlaceMomentReturns the enum constant of this class with the specified name.static ShapePlacer.PlaceMoment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORLD_GEN
Place the structure during world generation. If the structure is bigger than 3x3 chunks, the structure will be cut into chunks and will use multi-chunk features. -
ANIMATED_OTHER
animate the shape placement -
OTHER
Will place all the structure at once. This should not be used during world gen.
-
-
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
-