
Territory API
API for creating and managing in-world regions with efficient tracking, persistent storage, and simple enter/exit/tick events for gameplay mechanics like…
⬇ Download on ModrinthTerritory API is a framework for defining and managing in-world regions of arbitrary shapes, providing a unified event-driven system for detecting entity interactions such as entering, exiting, and staying within zones. It offers persistent region storage tied to the world lifecycle, flexible metadata support for attaching custom data to regions, and a consistent priority system for resolving overlapping areas. The API is designed to eliminate repetitive per-tick distance checks by providing optimized spatial tracking and a clean abstraction layer for gameplay systems like arenas, protected territories, RPG zones, and environment-based mechanics.
API Documentation >> click
- Ships as territoryapi-1.0.0-1.21.1.jar — drop this file into the mods folder
- Download size: 48 KB
- Download link checked 24 Aug 2026 — working
These come from our own check of the pack file, not from the source page.