Skip to content

blockProperties

fun blockProperties(parent: BlockBehaviour? = null, block: BlockBehaviour.Properties.() -> Unit): BlockBehaviour.Properties

Builds a BlockBehaviour.Properties via block, optionally starting from a full copy of parent's properties instead of the defaults.