Enum Class BlockUtils.RadiusType

java.lang.Object
java.lang.Enum<BlockUtils.RadiusType>
com.jeff_media.jefflib.BlockUtils.RadiusType
All Implemented Interfaces:
Serializable, Comparable<BlockUtils.RadiusType>, java.lang.constant.Constable
Enclosing class:
BlockUtils

Represents the type of radius
  • Enum Constant Details

    • CUBOID

      public static final BlockUtils.RadiusType CUBOID
      A cuboid radius, like a normal WorldEdit selection of X*X*X blocks
    • SPHERE

      public static final BlockUtils.RadiusType SPHERE
      A sphere radius, for example all blocks within a range of X*X*X blocks that are not further away from the center than the given distance
  • Method Details

    • values

      public static BlockUtils.RadiusType[] 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 BlockUtils.RadiusType 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