NetworkNodeProvider

Used to discover NetworkNodes.

Functions

Link copied to clipboard
abstract suspend fun getNode(pos: BlockPos): NetworkNode?

Gets the NetworkNode at the specified block pos or null if there is none.

Link copied to clipboard
abstract suspend fun getNodes(pos: ChunkPos): Sequence<NetworkNode>

Gets all NetworkNodes in the specified chunk pos.