Package org.bukkit.inventory
Enum CreativeCategory
- All Implemented Interfaces:
Serializable
,Comparable<CreativeCategory>
,java.lang.constant.Constable
Represents a category in the creative inventory.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll items related to brewing and potions including all types of potions, their variants, and ingredients to brew them.An assortment of building blocks including dirt, bricks, planks, ores slabs, etc.Equipment items meant for combat including armor, swords, bows, tipped arrows, and useful enchantment books for said equipment.Blocks and items typically used for decorative purposes including candles, saplings, flora, fauna, fences, walls, carpets, etc.Food items consumable by the player including meats, berries, edible drops from creatures, etc.Miscellaneous items and blocks that do not fit into other categories including gems, dyes, spawn eggs, discs, banner patterns, etc.Blocks used and associated with redstone contraptions including buttons, levers, pressure plates, redstone components, pistons, etc.Equipment items meant for general utility including pickaxes, axes, hoes, flint and steel, and useful enchantment books for said tools.Items pertaining to transportation including minecarts, rails, boats, elytra, etc. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreativeCategory
Returns the enum constant of this type with the specified name.static CreativeCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BUILDING_BLOCKS
An assortment of building blocks including dirt, bricks, planks, ores slabs, etc. -
DECORATIONS
Blocks and items typically used for decorative purposes including candles, saplings, flora, fauna, fences, walls, carpets, etc. -
REDSTONE
Blocks used and associated with redstone contraptions including buttons, levers, pressure plates, redstone components, pistons, etc. -
TRANSPORTATION
Items pertaining to transportation including minecarts, rails, boats, elytra, etc. -
MISC
Miscellaneous items and blocks that do not fit into other categories including gems, dyes, spawn eggs, discs, banner patterns, etc. -
FOOD
Food items consumable by the player including meats, berries, edible drops from creatures, etc. -
TOOLS
Equipment items meant for general utility including pickaxes, axes, hoes, flint and steel, and useful enchantment books for said tools. -
COMBAT
Equipment items meant for combat including armor, swords, bows, tipped arrows, and useful enchantment books for said equipment. -
BREWING
All items related to brewing and potions including all types of potions, their variants, and ingredients to brew them.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-