BooleanProperty
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.
open override fun scope(values: Set<Boolean>, initializer: BlockStatePropertyInitializer<Boolean>): ScopedBlockStateProperty<Boolean>
Creates a new ScopedBlockStateProperty of this property that is limited to the given values and initialized using the given initializer.