Half

enum Half : Enum<Half>

Indicates which variant of a block that can attach to either the block above it or the block below it, such as stairs or trapdoors, a block this property is applied to represents.

Entries

Link copied to clipboard

The block is attached to the block above it.

Link copied to clipboard

The block is attached to the block below it.

Functions

Link copied to clipboard
fun valueOf(value: String): Half

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.)

Link copied to clipboard
fun values(): Array<Half>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard