Enum Class WoodType

java.lang.Object
java.lang.Enum<WoodType>
com.github.darksoulq.abyssallib.server.resource.asset.definition.WoodType
All Implemented Interfaces:
Serializable, Comparable<WoodType>, Constable

public enum WoodType extends Enum<WoodType>
Represents wood types for resource pack item definitions.
  • Enum Constant Details

    • OAK

      public static final WoodType OAK
      Oak
    • SPRUCE

      public static final WoodType SPRUCE
      Spruce
    • BIRCH

      public static final WoodType BIRCH
      Birch
    • ACACIA

      public static final WoodType ACACIA
      Acacia
    • CHERRY

      public static final WoodType CHERRY
      Cherry
    • JUNGLE

      public static final WoodType JUNGLE
      Jungle
    • DARK_OAK

      public static final WoodType DARK_OAK
      Dark Oak
    • PALE_OAK

      public static final WoodType PALE_OAK
      Pale Oak
    • MANGROVE

      public static final WoodType MANGROVE
      Mangrove
    • BAMBOO

      public static final WoodType BAMBOO
      Bamboo
    • CRIMSON

      public static final WoodType CRIMSON
      Crimson
    • WARPED

      public static final WoodType WARPED
      Warped
  • Method Details

    • values

      public static WoodType[] 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 WoodType 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