MultiblockComponent

Represents a single block of a multiblock.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun matches(block: Block): Boolean
Link copied to clipboard
fun placeDefaultBlock(player: Player?, block: Block): Boolean

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

Link copied to clipboard
fun spawnGhostBlock(multiblock: RebarGhostBlockHolder, rotatedPosition: Vector3i)

Spawns the ghost block that visualises this component

Link copied to clipboard
fun updateGhostBlock(multiblock: RebarGhostBlockHolder, rotatedPosition: Vector3i)

Updates the corresponding ghost block's visuals