Enum Class BlockCreativeCategory

java.lang.Object
java.lang.Enum<BlockCreativeCategory>
cn.nukkit.block.customblock.data.BlockCreativeCategory
All Implemented Interfaces:
Serializable, Comparable<BlockCreativeCategory>, Constable

@PowerNukkitXOnly @Since("1.19.31-r1") public enum BlockCreativeCategory extends Enum<BlockCreativeCategory>
方块创造栏分类.

The enum Block creative category.

  • Enum Constant Details

    • COMMANDS

      public static final BlockCreativeCategory COMMANDS
      Commands block creative category.
    • CONSTRUCTION

      public static final BlockCreativeCategory CONSTRUCTION
      对应创造栏第一个

      Construction block creative category.

    • EQUIPMENT

      public static final BlockCreativeCategory EQUIPMENT
      对应创造栏第二个

      Equipment block creative category.

    • ITEMS

      public static final BlockCreativeCategory ITEMS
      对应创造栏第三个

      Items block creative category.

    • NATURE

      public static final BlockCreativeCategory NATURE
      对应创造栏第四个

      Nature block creative category.

    • NONE

      public static final BlockCreativeCategory NONE
      None block creative category.
  • Method Details

    • values

      public static BlockCreativeCategory[] 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

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