public enum CraftingType extends Enum<CraftingType>
| Enum Constant and Description |
|---|
FURNACE |
FURNACE_DATA |
MULTI |
SHAPED |
SHAPED_CHEMISTRY |
SHAPELESS |
SHAPELESS_CHEMISTRY |
SHULKER_BOX |
| Modifier and Type | Method and Description |
|---|---|
static CraftingType |
byId(int id) |
static CraftingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CraftingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CraftingType SHAPELESS
public static final CraftingType SHAPED
public static final CraftingType FURNACE
public static final CraftingType FURNACE_DATA
public static final CraftingType MULTI
public static final CraftingType SHULKER_BOX
public static final CraftingType SHAPELESS_CHEMISTRY
public static final CraftingType SHAPED_CHEMISTRY
public static CraftingType[] values()
for (CraftingType c : CraftingType.values()) System.out.println(c);
public static CraftingType 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 static CraftingType byId(int id)
Copyright © 2018–2019 NukkitX. All rights reserved.