BooleanProperty

Constructors

Link copied to clipboard
constructor(id: Key)

Properties

Link copied to clipboard
val id: Key

Functions

Link copied to clipboard
fun scope(vararg values: Boolean, initializer: BlockStatePropertyInitializer<Boolean> = { values[0] }): ScopedBlockStateProperty<Boolean>

Creates a new ScopedBlockStateProperty of this property that is limited to the given values and initialized using the given initializer.

Creates a new ScopedBlockStateProperty of this property that is limited to the given values and initialized using the given initializer.

Link copied to clipboard
open override fun toString(): String