Enum Class CreativeCategory

java.lang.Object
java.lang.Enum<CreativeCategory>
org.bukkit.inventory.CreativeCategory
All Implemented Interfaces:
Serializable, Comparable<CreativeCategory>, Constable

public enum CreativeCategory extends Enum<CreativeCategory>
Represents a category in the creative inventory.
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from class java.lang.Enum Link icon

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary Link icon

    Enum Constants
    Enum Constant
    Description
    All 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 Link icon

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details Link icon

    • BUILDING_BLOCKS Link icon

      public static final CreativeCategory BUILDING_BLOCKS
      An assortment of building blocks including dirt, bricks, planks, ores slabs, etc.
    • DECORATIONS Link icon

      public static final CreativeCategory DECORATIONS
      Blocks and items typically used for decorative purposes including candles, saplings, flora, fauna, fences, walls, carpets, etc.
    • REDSTONE Link icon

      public static final CreativeCategory REDSTONE
      Blocks used and associated with redstone contraptions including buttons, levers, pressure plates, redstone components, pistons, etc.
    • TRANSPORTATION Link icon

      public static final CreativeCategory TRANSPORTATION
      Items pertaining to transportation including minecarts, rails, boats, elytra, etc.
    • MISC Link icon

      public static final CreativeCategory MISC
      Miscellaneous items and blocks that do not fit into other categories including gems, dyes, spawn eggs, discs, banner patterns, etc.
    • FOOD Link icon

      public static final CreativeCategory FOOD
      Food items consumable by the player including meats, berries, edible drops from creatures, etc.
    • TOOLS Link icon

      public static final CreativeCategory TOOLS
      Equipment items meant for general utility including pickaxes, axes, hoes, flint and steel, and useful enchantment books for said tools.
    • COMBAT Link icon

      public static final CreativeCategory COMBAT
      Equipment items meant for combat including armor, swords, bows, tipped arrows, and useful enchantment books for said equipment.
    • BREWING Link icon

      public static final CreativeCategory BREWING
      All items related to brewing and potions including all types of potions, their variants, and ingredients to brew them.
  • Method Details Link icon

    • values Link icon

      public static CreativeCategory[] 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 Link icon

      public static CreativeCategory 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