Properties

Link copied to clipboard
abstract val allowedFace: BlockFace?

Which direction we can create the pipe in. If null, the pipe can be in any direction.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val isStillValid: Boolean

Has something changed (eg a block being removed) that means we can't use this point any more?

Link copied to clipboard
abstract val offset: Vector3f

Where the connecting point physically exists relative to its parent block

Link copied to clipboard
abstract val position: BlockPosition

Block the point is tied to

Functions

Link copied to clipboard

Perform logic to make this one of the points of a new pipe, for example by splitting an existing pipe or placing a new connection point. This should always yield a new connection point which we can connect the pipe to.