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 blockDataList(): List<BlockData>
Link copied to clipboard
open override fun matches(block: Block): Boolean
Link copied to clipboard
open override fun placeDefaultBlock(block: Block)

Sets block to a 'default' value which matches this MultiblockComponent.

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