VanillaMultiblockComponent

Represents a vanilla component of a multiblock, which can have one or more materials.

If multiple materials are specified, the ghost block will automatically cycle through all the given materials in order.

Constructors

Link copied to clipboard
constructor(first: Material, vararg materials: Material)
constructor(materials: List<Material>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun matches(block: Block): Boolean
Link copied to clipboard
open override fun spawnGhostBlock(block: Block): UUID

Creates a 'ghost block' entity that represents this block.