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

public static enum ShapePlacer.PlaceMoment extends Enum<ShapePlacer.PlaceMoment>
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
  • Enum Constant Details

    • WORLD_GEN

      public static final ShapePlacer.PlaceMoment 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

      public static final ShapePlacer.PlaceMoment ANIMATED_OTHER
      animate the shape placement
    • OTHER

      public static final ShapePlacer.PlaceMoment OTHER
      Will place all the structure at once. This should not be used during world gen.
  • Method Details

    • values

      public static ShapePlacer.PlaceMoment[] 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 ShapePlacer.PlaceMoment 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