EnumProperty
Functions
Link copied to clipboard
fun scope(vararg values: E, initializer: BlockStatePropertyInitializer<E> = { values[0] }): ScopedBlockStateProperty<E>
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<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.