Enum Class LayerPlacer.PlacingType

java.lang.Object
java.lang.Enum<LayerPlacer.PlacingType>
net.rodofire.easierworldcreator.shape.block.placer.LayerPlacer.PlacingType
All Implemented Interfaces:
Serializable, Comparable<LayerPlacer.PlacingType>, Constable
Enclosing class:
LayerPlacer

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

    • RANDOM

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

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

      public static final LayerPlacer.PlacingType NOISE2D
      Will place the Block/Particle according to a 2d noise. This is slower than random placing type. If the placement does not matter for you, choose RANDOM
    • NOISE3D

      public static final LayerPlacer.PlacingType NOISE3D
      Will place the Block/Particle according to a 3d noise This is slower than random or 2d noise placing type. If the placement does not matter for you, choose RANDOM
  • Method Details

    • values

      public static LayerPlacer.PlacingType[] 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 LayerPlacer.PlacingType 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