public enum CraftingBookCategory extends Enum<CraftingBookCategory>
| Modifier and Type | Method and Description |
|---|---|
static CraftingBookCategory |
from(int id) |
static CraftingBookCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CraftingBookCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CraftingBookCategory BUILDING
public static final CraftingBookCategory REDSTONE
public static final CraftingBookCategory EQUIPMENT
public static final CraftingBookCategory MISC
public static CraftingBookCategory[] values()
for (CraftingBookCategory c : CraftingBookCategory.values()) System.out.println(c);
public static CraftingBookCategory 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 CraftingBookCategory from(int id)
Copyright © 2023. All rights reserved.