BooleanProperty

class BooleanProperty(id: ResourceLocation) : BlockStateProperty<Boolean>

Constructors

Link copied to clipboard
constructor(id: ResourceLocation)

Properties

Link copied to clipboard
val id: ResourceLocation

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.

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

Link copied to clipboard
open override fun toString(): String