Перейти к содержимому
Mineforgian

Area Lib

Library mod that allows for creating arbitrary areas

12K загрузок4 подписчиковMITfabric

Обновлён 16 мая 2026 г. · опубликован 2 ноября 2024 г.

  • Areas

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

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.8.3+26.1Альфа26.1, 26.1.1, 26.1.2fabric16 мая 2026 г..jar (71 КБ)
0.8.2+26.1Альфа26.1, 26.1.1, 26.1.2fabric16 мая 2026 г..jar (69 КБ)
0.8.1+26.1Альфа26.1, 26.1.1, 26.1.2fabric4 мая 2026 г..jar (69 КБ)
0.8.0+26.1Альфа26.1, 26.1.1, 26.1.2fabric10 апреля 2026 г..jar (69 КБ)
0.7.0+26.1Альфа26.1fabric2 апреля 2026 г..jar (58 КБ)
0.6.1+26.1Альфа26.1fabric1 апреля 2026 г..jar (57 КБ)
0.6.0+26.1Альфа26.1fabric24 марта 2026 г..jar (56 КБ)
0.6.0+1.21.11Альфа1.21.11fabric15 февраля 2026 г..jar (57 КБ)
0.5.0+1.21.10Альфа1.21.10fabric14 февраля 2026 г..jar (50 КБ)
0.4.0+1.21.8Альфа1.21.8fabric31 августа 2025 г..jar (51 КБ)
0.4.0+1.20.1Альфа1.20.1fabric31 августа 2025 г..jar (50 КБ)
0.4.0Альфа1.21.1fabric31 августа 2025 г..jar (50 КБ)
0.3.6+1.21.8Альфа1.21.8fabric21 июля 2025 г..jar (51 КБ)
0.3.6+1.21.7Альфа1.21.7fabric3 июля 2025 г..jar (51 КБ)
0.3.6Альфа1.21.1fabric16 апреля 2025 г..jar (50 КБ)

Показаны последние 15 из 27 версий. Все версии — на Modrinth.

Ченджлог

0.8.3+26.1Альфа26.1, 26.1.1, 26.1.2 · 16 мая 2026 г.
  • improve performance
  • deprecate AreaSavedData#getServerData in favor of new AreaLib#getSavedData(MinecraftServer)
0.8.2+26.1Альфа26.1, 26.1.1, 26.1.2 · 16 мая 2026 г.
  • make value optional for /area modify <id> components set <component_type> [value]
0.8.1+26.1Альфа26.1, 26.1.1, 26.1.2 · 4 мая 2026 г.

Sync areas in configuration phase Areas will still get synced in play phase when areas get modified

0.8.0+26.1Альфа26.1, 26.1.1, 26.1.2 · 10 апреля 2026 г.
  • 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
0.7.0+26.1Альфа26.1 · 2 апреля 2026 г.
  • Improve findTrackedAreasContaining and union area performance
  • Make BVHNode not generic
  • Make gizmo style component a normal component
0.6.1+26.1Альфа26.1 · 1 апреля 2026 г.
  • Add experimental event listener system
0.6.0+26.1Альфа26.1 · 24 марта 2026 г.
  • Update to 26.1
0.6.0+1.21.11Альфа1.21.11 · 15 февраля 2026 г.
  • 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

Полная история изменений — на Modrinth.

Комментарии

Загружаем…