VirtualFluidPoint

data class VirtualFluidPoint(val id: UUID, val position: BlockPosition, val type: FluidPointType, val connectedPoints: MutableSet<UUID>)(source)

A connection in a fluid network, like a machine's output or the end of a pipe.

The VirtualFluidnPoint class is stored in memory for every loaded point. VirtualFluidPoints are persisted when unloaded, but do not store the segment UUID - this is decided at runtime.

Constructors

Link copied to clipboard
constructor(block: Block, type: FluidPointType)
constructor(id: UUID, position: BlockPosition, type: FluidPointType, connectedPoints: MutableSet<UUID>)

Properties

Link copied to clipboard
Link copied to clipboard
val id: UUID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int