ConnectingPointPipeConnector

class ConnectingPointPipeConnector(val connector: FluidPipeConnector) : ConnectingPoint(source)

Constructors

Link copied to clipboard
constructor(connector: FluidPipeConnector)

Properties

Link copied to clipboard
open override val allowedFace: Nothing? = null

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

Link copied to clipboard
open override val connectedInteractions: Set<@NotNull UUID>
Link copied to clipboard
val connector: FluidPipeConnector
Link copied to clipboard
Link copied to clipboard
open override 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
open override val offset: Vector3f

Where the connecting point physically exists relative to its parent block

Link copied to clipboard
open override val position: BlockPosition

Block the point is tied to

Functions

Link copied to clipboard
open override fun create(): FluidPointInteraction

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.