Package cn.nukkit.block.customblock.data
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription对应创造栏第一个对应创造栏第二个对应创造栏第三个对应创造栏第四个None block creative category. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockCreativeCategory
Returns the enum constant of this class with the specified name.static BlockCreativeCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONSTRUCTION
对应创造栏第一个Construction block creative category.
-
EQUIPMENT
对应创造栏第二个Equipment block creative category.
-
ITEMS
对应创造栏第三个Items block creative category.
-
NATURE
对应创造栏第四个Nature block creative category.
-
NONE
None block creative category.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-