HomeJavaModsArea Lib
ModsJava

Area Lib

by Tomate0613 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.2⬇ Download for 1.21.11⬇ Download for 1.21.10⬇ Download for 1.21.8⬇ Download for 1.21.7⬇ Download for 1.21.1⬇ Download for 1.20.1
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Area Lib

screenshot showing an area

Creating areas

Create areas using /area create

For example /area create <id> box ~ ~ ~ ~5 ~5 ~5 creates a 5x5x5 box area

Modifying area properties

Built-In

Some built-in properties, such as color and priority can be changed using /area modify <id> <property> <value>

Components

Components can be set and removed using /area modify <id> components (set|remove|get|copy_from) ...

Union areas

You can create union areas using
/area create <id> union <...areas>

Adding additional sub-areas can be done using
/area modify_composite <id> add <sub_area>

Similarly, ub-areas can be removed by running
/area modify_composite <id> remove <sub_area>

Deleting areas

To completely delete an area use /area delete <id>

Querying areas

To check which area you are currently in, use /area query

Functionality Note

Note that these areas don't do anything by themselves, but require additional mods that can implement specific functionality for them. For example area-tools adds various area related tools using this library

Documentation

Partial documentation is available here

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more