ModsFinder

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.

FabricServer-side onlyMIT LicenseOpen source1.21.8

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

  1. Rectangular zone creation

    Zones are defined from two opposite corner BlockPos values, which keeps setup simple.

  2. Membership checks

    Code can test whether a block position or a player entity is inside a given zone.

  3. Zone lookup

    Methods return the list of zone identifiers that contain a given block position or entity.

  4. Overlapping zones

    Several zones can cover the same area at once, and each keeps its own identifier.

  5. Identifier-based removal

    A zone is removed by passing the Identifier it was registered under.

Compatibility

Latest build for each game version and loader.

1.21.81.2.3
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Zones APIFabric1.21.8Server-side only2025-08-06
Territory APIFabric1.21.1Client and server2026-07-05
Custom AreasFabric1.21.1Server-side only2025-10-03
ProtectedAreaFabric1.21 – 1.21.11Client-side only2026-09-30

Questions

Does Zones API need to be installed on the client?

No. It runs on the server alone, so players need nothing extra to join.

Which loader and version does Zones API support?

It is published for Fabric only, and its only game version is 1.21.8, with the latest file 1.2.3.

Can two zones overlap?

Yes. Zones may overlap, and a position can belong to several zones at the same time.

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…
Wolframoviy, on the Modrinth page

Official listing

Owner
Wolframoviy
Published
2025-08-03
Updated on Modrinth
2025-08-06
Facts verified
2026-10-15

Tags