NetworkNodeProvider

Used to discover NetworkNodes.

Functions

Link copied to clipboard
abstract fun getNode(block: Block): NetworkNode?

Gets the live NetworkNode represented by block, or null if there is none. Must be called from the server thread.

Link copied to clipboard
abstract fun getNodes(chunk: Chunk): NetworkNodeSnapshot

Creates and returns a snapshot of all NetworkNodes and unknown blocks in chunk. Must be called from the server thread.