Enum Class StructureType

java.lang.Object
java.lang.Enum<StructureType>
ch.njol.skript.util.StructureType
All Implemented Interfaces:
Serializable, Comparable<StructureType>, Constable

public enum StructureType extends Enum<StructureType>
  • Enum Constant Details

  • Method Details

    • values

      public static StructureType[] 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 StructureType 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
    • grow

      public void grow(org.bukkit.Location loc)
    • grow

      public void grow(org.bukkit.block.Block b)
    • getTypes

      public org.bukkit.TreeType[] getTypes()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<StructureType>
    • toString

      public String toString(int flags)
    • getName

      public Noun getName()
    • is

      public boolean is(org.bukkit.TreeType type)
    • fromName

      public static @Nullable StructureType fromName(String s)