Package dev.despical.mazeengine.api


package dev.despical.mazeengine.api
Public contracts for integrating other Bukkit plugins with MazeEngine.

Depend on the API JAR with compile-only scope and declare MazeEngine as a plugin dependency. Do not shade these classes: integrations and the provider must share the same API class identities for Bukkit service lookup. Obtain MazeEngineApi from Bukkit's ServicesManager after MazeEngine has enabled.

The API groups its responsibilities into:

Registry queries, submission, progress, and cancellation require the server thread. Immutable snapshots and completion stages may be retained on other threads. Never block the server thread waiting for completion; schedule Bukkit work explicitly when a callback may execute on another thread.