Zones API
by Wolframoviy
Zones API gives server owners and other mods a way to define rectangular zones in a world and test whether entities or block positions fall inside them.
What it does
A zone is created from two opposite corner block positions and given a unique Identifier. Once it exists, code can check whether a given block position or entity lies inside it, and list which zone identifiers contain a position or an entity. Zones may overlap, and a zone can be removed by its identifier.
The library is a lightweight server-side foundation. It supplies spatial logic only, such as membership checks and region lookup, and leaves rules to other code. Region-based restrictions like PvP limits, building limits or protected areas, along with quest areas and custom interactions, are the kinds of features it is meant to underpin rather than ship with. Developers who want high-level behaviour build it on top of these core methods, and the mod is open source under the MIT License.
The Fabric file for 1.21.8 is version 1.2.3, published on 2025-08-06. Zones API runs on the server alone, so players join without installing anything. It is open source, with public source code and an issue tracker.
Key features
Rectangular zone creation
Zones are defined from two opposite corner BlockPos values, which keeps setup simple.
Membership checks
Code can test whether a block position or a player entity is inside a given zone.
Zone lookup
Methods return the list of zone identifiers that contain a given block position or entity.
Overlapping zones
Several zones can cover the same area at once, and each keeps its own identifier.
Identifier-based removal
A zone is removed by passing the Identifier it was registered under.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Protected spawn areas
A plugin-style mod can mark a spawn region and check each block a player tries to change against it.
Quest and event regions
Story or event code can react when a player enters a defined area of the world.
Who it’s for: Mod developers who need region logic for a server, and server owners whose add-ons depend on it. Players connecting to such a server need nothing installed.
How it compares
Territory API is a Fabric library for 1.21.1, environment Client and server, under the MIT License, and it is not open source. Custom Areas is a server-side Fabric mod for 1.21.1 under All rights reserved, so its code is not open for reuse. ProtectedArea is open source under the MIT License for 1.21 – 1.21.11 and runs on the client alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Zones API | Fabric | 1.21.8 | Server-side only | 2025-08-06 |
| Territory API | Fabric | 1.21.1 | Client and server | 2026-07-05 |
| Custom Areas | Fabric | 1.21.1 | Server-side only | 2025-10-03 |
| ProtectedArea | Fabric | 1.21 – 1.21.11 | Client-side only | 2026-09-30 |
Questions
Does Zones API need to be installed on the client?
Which loader and version does Zones API support?
Can two zones overlap?
In the catalog
Zones API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 17,695 mods support Minecraft 1.21.8.
Similar mods
What the author says
Zones API is a lightweight system for defining and managing custom zones in a Minecraft server world. It provides core methods for creating rectangular areas (zones), checking whether entities or block positions are inside those zones, and removing zones by their identifiers. This API serves as a foundation for…
Official listing
- Modrinth page
- modrinth.com/mod/zones-api
- Owner
- Wolframoviy
- Published
- 2025-08-03
- Updated on Modrinth
- 2025-08-06
- Facts verified
- 2026-10-15
