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 zones, arenas, and protected areas
- Loaders
- Fabric
- Downloads on Modrinth
- 79
- Followers on Modrinth
- 0
- version
- 1
- Updated
- July 5, 2026Jul 5
- Published
- in 2026
At a glance
Needed both in the game and on the server
Territory 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
FAQ
How to install Territory API?
Install Fabric for your Minecraft version, download Territory API for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Territory API support?
Territory API has builds for Minecraft 1.21.1.
Is Territory API needed on the server?
Needed in the game and on the server