90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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

You can change some built-in properties, such as color and priority using /area modify <id> <property> <value>

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 you can remove a sub-area 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


Project members

Tomate0613

Member

Details

Licensed MIT
Published 8 months ago
Updated 2 days ago