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
Gets all NetworkNodes in the chunk at pos using the registered NetworkNodeProviders.
Link copied to clipboard
fun queueAddBridge(bridge: NetworkBridge, supportedNetworkTypes: Set<NetworkType<*>>, bridgeFaces: Set<BlockFace>, 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Registers a new NetworkNodeProvider, which will be used to discover NetworkNodes during chunk load and end point / bridge add tasks.
Link copied to clipboard