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

public static enum ShapePlaceType.LayerPlace extends Enum<ShapePlaceType.LayerPlace>
set how the blocks/particles will be chosen inside a layer
  • Enum Constant Details

    • RANDOM

      public static final ShapePlaceType.LayerPlace RANDOM
      will choose random Block/Particle in the layer
    • ORDER

      public static final ShapePlaceType.LayerPlace ORDER
      will place the first Block/particle in the layer, then the second, then the third, in the order
    • NOISE2D

      public static final ShapePlaceType.LayerPlace NOISE2D
      will place the Block/Particle according to a 2d noise
    • NOISE3D

      public static final ShapePlaceType.LayerPlace NOISE3D
      will place the Block/Particle according to a 3d noise
  • Method Details

    • values

      public static ShapePlaceType.LayerPlace[] 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 ShapePlaceType.LayerPlace 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