Enum Class MossyCarpet.Height

java.lang.Object
java.lang.Enum<MossyCarpet.Height>
org.bukkit.block.data.type.MossyCarpet.Height
All Implemented Interfaces:
Serializable, Comparable<MossyCarpet.Height>, Constable
Enclosing interface:
MossyCarpet

@Deprecated(since="1.21.5", forRemoval=true) public static enum MossyCarpet.Height extends Enum<MossyCarpet.Height>
Deprecated, for removal: This API element is subject to removal in a future version.
this property is not specific to the MossyCarpet, use Wall.Height instead. All references to this enum will be redirected to that enum at runtime.
The different heights a face may have.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Low face present.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Not present.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Tall face present.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final MossyCarpet.Height NONE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Not present.
    • LOW

      public static final MossyCarpet.Height LOW
      Deprecated, for removal: This API element is subject to removal in a future version.
      Low face present.
    • TALL

      public static final MossyCarpet.Height TALL
      Deprecated, for removal: This API element is subject to removal in a future version.
      Tall face present.
  • Method Details

    • values

      public static MossyCarpet.Height[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 MossyCarpet.Height valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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