Default

data class Default @JvmOverloads constructor(val block: Block, val shouldSetType: Boolean = true) : Record, BlockCreateContext(source)

A context in which no other reason is specified

Constructors

Link copied to clipboard
constructor(block: Block, shouldSetType: Boolean = true)

Properties

Link copied to clipboard
open override val block: Block

The old block where the new block is about to be created.

Link copied to clipboard
open override val shouldSetType: Boolean = true

If true, the type of the block will be set to the type of the Pylon block