NetworkManager
Properties
Functions
Link copied to clipboard
Gets the NetworkNode at the specified block pos using the registered NetworkNodeProviders, or null if there is none.
Link copied to clipboard
Creates a snapshot of all NetworkNodes and unknown blocks in chunk using the registered NetworkNodeProviders.
Link copied to clipboard
fun queueAddBridge(bridge: NetworkBridge, supportedNetworkTypes: Set<NetworkType<*>>, bridgeFaces: CubeFaceSet, updateNodes: Boolean = true)
Queues a network task to add bridge to the network state, using the specified supportedNetworkTypes and bridgeFaces.
Link copied to clipboard
Queues a network task to add endPoint to the network state.
Link copied to clipboard
Queues a network task to remove bridge from the network state.
Link copied to clipboard
Queues a network task to remove endPoint from the network state.
Link copied to clipboard
Queues a custom network task in pos that will definitely change the network state.
Link copied to clipboard
Registers a new NetworkNodeProvider, which will be used to discover NetworkNodes during chunk load.