Мова

AURA - Shield Library

Modrinth

AURA is a datapack library for managing custom absorption based shields with independent IDs, durations, and stacking behavior.

11 завантажень оновлено 19d ago
остання v1.1 Modrinth
Datapack 26.1 – 26.2 LibraryManagement

A.U.R.A. — Absorption-based Universal Reinforcement Architecture

AURA is a datapack library for managing custom absorption shields with independent IDs, durations, and stacking behavior.

How it works

Each shield accepts the following parameters:

  • time — duration in ticks
  • amount — shield strength (1 heart = 2)
  • shieldId — unique identifier for this shield. If a new shield is applied with the same shieldId, it replaces the existing one — regardless of which one is stronger or how much time is left.
  • distance — range in blocks. Only used by on_block and around_entity.

:warning: If a player has the immune2shield tag, no shield will affect them, regardless of the function used.

Functions

function aura:use_shield/on_player {time:<time>,amount:<amount>,shieldId:<shieldId>}

Must be run on an entity, otherwise it has no effect.

function aura:use_shield/on_block {time:<time>,amount:<amount>,shieldId:<shieldId>,distance:<distance>}

Must be run with execute at or execute positioned.

function aura:use_shield/around_entity {time:<time>,amount:<amount>,shieldId:<shieldId>,distance:<distance>}

Similar to on_block, but must be run on an entity. Does not require execute at.

Example

Applying a shield of 5 (2.5 hearts), then a shield of 3 (1.5 hearts) with a different shieldId stacks both — giving a total of 4 hearts of absorption.

Taking 1 heart of damage leaves 3 hearts remaining. Once the 5 shield expires, only the 3 shield (unaffected) remains.

https://github.com/user-attachments/assets/000aebe3-29a5-4402-b340-47d6985c77f1


Installation

  1. Copy the AURA folder into your world's datapacks/ directory (e.g. saves/<World Name>/datapacks/AURA).
  2. Run /reload in-game, or restart the world.
  3. You should see Shield Library Reloaded! in chat once it's loaded.

For a general walkthrough on installing data packs, see the Minecraft Wiki tutorial.

Версії

Release
1.1
datapack · 26.1, 26.1.1, 26.1.2 · 19d ago
fixed marker summon cordinates
4
Release
v1.0
datapack · 26.1.2 · 29d ago
7

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

FAQ

Як встановити AURA - Shield Library?

Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.

AURA - Shield Library безкоштовний?

AURA - Shield Library можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.

Які версії Minecraft підтримує AURA - Shield Library?

Працює з Datapack. Підтримуються версії 26.1–26.2. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Завантажити AURA - Shield Library

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.