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
截图
介绍
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
常见问题
Territory API 支持哪些 Minecraft 版本?
Territory API 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Territory API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Nhbybnb 的其他作品
查看全部 →
Nocturnal Dweller
你将被 Nocturnal Dweller 魂牵梦绕——这只身形修长的怪物会每隔一段时间出现在你的世界里。
RPG Bonfire
Add the ability to regenerate health near a campfire in Minecraft with a simple key press!
Player From Another Server
This mod will make your minecraft scary by adding a mysterious mob to your world...
Pumpkinhead Dweller
You will be haunted by the terrifying Pumpkinhead Dweller, a long critter that will appear in your world once every certain amount of time
评论
登录后评论和评分