Minekarta Docs
ModelEngineNPCReference

Developer API

Integrate ModelEngineNPC programmatically from other plugins.

reviewThis page is not verified against ModelEngineNPC v2.0.1.

ModelEngineNPC provides a public entrypoint for server integrations.

Access repository and registered NPCs:

ModelEngineNPCAPI api = ModelEngineNPCAPI.getInstance();
NPCRepository repo = api.getRepository();

API signatures require recheck against final v2.0.1 artifact. Check for plugin presence before referencing classes in external plugins:

softdepend: [ModelEngineNPC]

Handle missing plugin gracefully. Do not call API before plugin enables.