scope

fun scope(vararg values: T, initializer: BlockStatePropertyInitializer<T> = { values[0] }): ScopedBlockStateProperty<T>
abstract fun scope(values: Set<T>, initializer: BlockStatePropertyInitializer<T>): ScopedBlockStateProperty<T>

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