All Mods Resource Packs Data Packs Shaders Modpacks Plugins
A

Area Lib

by Tomate0613 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install Area Lib (Mod)

Area Lib by Tomate0613 is verified for Fabric across Minecraft versions 1.20.1, 1.21.1, 1.21.10, 1.21.11, 1.21.7, 1.21.8, 26.1, 26.1.1 (latest release: 0.9.1+26.3, file size: 84 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21.1, 1.21.10, 1.21.11, 1.21.7, 1.21.8, 26.1, 26.1.1) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Area Lib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
1mo ago 1
26.3
Fabric
1mo ago 1
26.1.x
Fabric
1mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
6mo ago 1
26.1.x
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
1.21.11
Fabric
9mo ago 1
1.21.10
Fabric
9mo ago 1
1.21.8
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.7
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
  • fix crash on gui tick with default keybind
  • update to 26.3
  • add intersection areas
  • add difference areas
  • AreaSavedData#remove now throws an error if the area is a dependency
of a derived area
  • bugfixes

  • improve performance
  • deprecate AreaSavedData#getServerData in favor of new AreaLib#getSavedData(MinecraftServer)
  • make value optional for /area modify <id> components set <component_type> [value]
Sync areas in configuration phase
Areas will still get synced in play phase when areas get modified
  • Make area components use codecs for (de)serialization
  • Rename various methods and classes to more fitting names
  • Move saved data from overworld data to world data
  • Add /area modify components
  • Show overlay when toggling rendering
  • Split out tracking components into entity tracked components and sampled components
  • Set compat version as 26.1.x
  • Improve findTrackedAreasContaining and union area performance
  • Make BVHNode not generic
  • Make gizmo style component a normal component
  • Add experimental event listener system
  • Update to 26.1
  • Update to 1.21.11
  • Move area rendering to new gizmo system
  • Replace /area modify <id> color with new /area modify <id> gizmo_style stroke_color | stroke_width | fill_color
  • make area-lib work client optional
  • add /area modify [id] replace_shape
  • add /area list
  • Rename AreaSavedData#findAllAreasContaining to AreaSavedData#findAnyAreaContaining and add working AreaSavedData#findAllAreasContaining
  • Add Area#copyComponentsFrom
  • Add copy_components_from modify command
  • Rename AreaSavedData#findAllAreasContaining to AreaSavedData#findAnyAreaContaining and add working AreaSavedData#findAllAreasContaining
  • Add Area#copyComponentsFrom
  • Add copy_components_from modify command
[0.4.0] Area Lib 0.4.0 by Tomate0613 on Aug 31, 2025
Download
  • Rename AreaSavedData#findAllAreasContaining to AreaSavedData#findAnyAreaContaining and add working AreaSavedData#findAllAreasContaining
  • Add Area#copyComponentsFrom
  • Add copy_components_from modify command
Download Area Lib
Select game version
Select platform