Package-level declarations

Types

Link copied to clipboard
interface Network<S : Network<S>> : NetworkData<S>

A network is an immutable data structure that is created from a NetworkData.

Link copied to clipboard
class NetworkCluster(val uuid: UUID, val networks: List<Network<*>>)

A cluster of Networks that share at least one NetworkNode. Different clusters are capable of being ticked in parallel, as they do not share state.

Link copied to clipboard
interface NetworkData<T : Network<T>>

The data of a network, containing all NetworkNodes and their connections, as well as the type and uuid of the network.

Link copied to clipboard

A collection of Networks of the same NetworkType from the same NetworkCluster, handling ticking logic for these networks.

Link copied to clipboard
interface NetworkGroupData<T : Network<T>>

The data of a network group, containing all networks as well as the type of all networks.

Link copied to clipboard
object NetworkManager : Listener
Link copied to clipboard

Used to discover NetworkNodes.

Link copied to clipboard
class ProtoNetwork<T : Network<T>>(state: NetworkState, val type: NetworkType<T>, val uuid: UUID = UUID.randomUUID(), val nodes: MutableMap<BlockPos, MutableNetworkNodeConnection> = HashMap()) : NetworkData<T>

An uninitialized network that is still in creation.

Link copied to clipboard

A group of ProtoNetworks that share at least one NetworkNode.