scope

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

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