scope

fun scope(range: IntRange, initializer: BlockStatePropertyInitializer<Int> = { range.first }): ScopedBlockStateProperty<Int>


open override fun scope(values: Set<Int>, initializer: BlockStatePropertyInitializer<Int>): ScopedBlockStateProperty<Int>

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