Enum Class Recipe.Type

java.lang.Object
java.lang.Enum<Recipe.Type>
net.minestom.server.recipe.Recipe.Type
All Implemented Interfaces:
Serializable, Comparable<Recipe.Type>, Constable
Enclosing class:
Recipe

public static enum Recipe.Type extends Enum<Recipe.Type>
  • Enum Constant Details

    • SHAPELESS

      public static final Recipe.Type SHAPELESS
    • SHAPED

      public static final Recipe.Type SHAPED
    • SMELTING

      public static final Recipe.Type SMELTING
    • BLASTING

      public static final Recipe.Type BLASTING
    • SMOKING

      public static final Recipe.Type SMOKING
    • CAMPFIRE_COOKING

      public static final Recipe.Type CAMPFIRE_COOKING
    • STONECUTTING

      public static final Recipe.Type STONECUTTING
    • SMITHING_TRANSFORM

      public static final Recipe.Type SMITHING_TRANSFORM
    • SMITHING_TRIM

      public static final Recipe.Type SMITHING_TRIM
  • Method Details

    • values

      public static Recipe.Type[] 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 Recipe.Type 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