SlabType

Indicates the type of slab that a block this property is applied to represents.

Slabs are different from a lot of other blocks, in that two of them can be placed in the same block space. However, for uniformity, this is all an illusion, and this property is used to differentiate "half slabs", those that occupy half of a block from "full slabs", those that occupy a full block, when two slabs are placed in the same block.

Entries

Link copied to clipboard

The slab occupies the top half of a block.

Link copied to clipboard

The slab occupies the bottom half of a block.

Link copied to clipboard

The slab occupies both halves of a block. This happens when two slabs are placed in the same block.

Functions

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

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

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