Territory API
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: game-mechanics library utility
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
请登录后举报
暂无评论,抢个沙发吧~