public static enum Recipe.Type extends Enum<Recipe.Type>
| Enum Constant and Description |
|---|
FURNACE |
FURNACE_DATA |
MULTI |
SHAPED |
SHAPED_CHEMISTRY |
SHAPELESS |
SHAPELESS_CHEMISTRY |
SHULKER_BOX |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOrdered() |
static Recipe.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Recipe.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Recipe.Type SHAPELESS
public static final Recipe.Type SHAPED
public static final Recipe.Type FURNACE
public static final Recipe.Type FURNACE_DATA
public static final Recipe.Type MULTI
public static final Recipe.Type SHULKER_BOX
public static final Recipe.Type SHAPELESS_CHEMISTRY
public static final Recipe.Type SHAPED_CHEMISTRY
public static Recipe.Type[] values()
for (Recipe.Type c : Recipe.Type.values()) System.out.println(c);
public static Recipe.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isOrdered()
Copyright © 2017–2019 NukkitX. All rights reserved.