Sprache

Area Lib

Modrinth

Library mod that allows for creating arbitrary areas

11.2k Downloads 4 Follower aktualisiert 1mo ago
neueste v0.8.3+26.1 Modrinth
Fabric 1.20.1 – 26.1.2 Library

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

Versionen

Alpha
0.8.3+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
- improve performance - deprecate `AreaSavedData#getServerData` in favor of new `AreaLib#getSavedData(MinecraftServer)`
651
Alpha
0.8.2+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
- make value optional for `/area modify <id> components set <component_type> [value]`
14
Alpha
0.8.1+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
Sync areas in configuration phase Areas will still get synced in play phase when areas get modified
270
Alpha
0.8.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
- Make area components use codecs for (de)serialization - Rename various methods and classes to more fitting names - Move saved data from overworld data to…
351
Alpha
0.7.0+26.1
fabric · 26.1 · 2mo ago
- Improve `findTrackedAreasContaining` and union area performance - Make `BVHNode` not generic - Make gizmo style component a normal component
41
Alpha
0.6.1+26.1
fabric · 26.1 · 2mo ago
- Add experimental event listener system
32
Alpha
0.6.0+26.1
fabric · 26.1 · 2mo ago
- Update to 26.1
79
Alpha
0.6.0+1.21.11
fabric · 1.21.11 · 4mo ago
- 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 |…
96
Alpha
0.5.0+1.21.10
fabric · 1.21.10 · 4mo ago
- make area-lib work client optional - add `/area modify [id] replace_shape` - add `/area list`
46
Alpha
0.4.0+1.21.8
fabric · 1.21.8 · 9mo ago
- Rename `AreaSavedData#findAllAreasContaining` to `AreaSavedData#findAnyAreaContaining` and add working `AreaSavedData#findAllAreasContaining` - Add…
1.3k
Alpha
0.4.0+1.20.1
fabric · 1.20.1 · 9mo ago
- Rename `AreaSavedData#findAllAreasContaining` to `AreaSavedData#findAnyAreaContaining` and add working `AreaSavedData#findAllAreasContaining` - Add…
135
Alpha
0.4.0
fabric · 1.21.1 · 9mo ago
- Rename `AreaSavedData#findAllAreasContaining` to `AreaSavedData#findAnyAreaContaining` and add working `AreaSavedData#findAllAreasContaining` - Add…
559

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.