Package tk.airshipcraft.commonlib.utils
Enum Class BlockUtils.BlockType
- All Implemented Interfaces:
Serializable
,Comparable<BlockUtils.BlockType>
,Constable
- Enclosing class:
- BlockUtils
Enum representing different types of Minecraft blocks grouped by category.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a candle block type.Represents a leaf block type.Represents a log block type.Represents a plank block type.Represents any sign type (wall sign or freestanding sign)Represents any kind of stoneRepresents a stripped log block type.Represents only unstripped log block variants.Represents a wall sign block type.Represents a wood block (log or plank) type. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockUtils.BlockType
Returns the enum constant of this class with the specified name.static BlockUtils.BlockType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOG
Represents a log block type. -
STRIPPED_LOG
Represents a stripped log block type. -
UNSTRIPPED_LOG
Represents only unstripped log block variants. -
WOOD
Represents a wood block (log or plank) type. -
PLANK
Represents a plank block type. -
LEAVES
Represents a leaf block type. -
WALL_SIGN
Represents a wall sign block type. -
SIGN
Represents any sign type (wall sign or freestanding sign) -
STONE
Represents any kind of stone -
CANDLE
Represents a candle block type.
-
-
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
-