AURA – Shield Library
AURA is a datapack library for managing custom absorption based shields with independent IDs, durations, and stacking behavior.
介绍
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 ticksamount— shield strength (1 heart = 2)shieldId— unique identifier for this shield. If a new shield is applied with the sameshieldId, it replaces the existing one — regardless of which one is stronger or how much time is left.distance— range in blocks. Only used byon_blockandaround_entity.
:warning: If a player has the
immune2shieldtag, 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 atorexecute 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 requireexecute 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
- Copy the
AURAfolder into your world’sdatapacks/directory (e.g.saves/<World Name>/datapacks/AURA). - Run
/reloadin-game, or restart the world. - 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.
常见问题
AURA – Shield Library 支持哪些 Minecraft 版本?
AURA – Shield Library 支持 Minecraft Java 版 26.1–26.2,共 4 个版本。下载时注意选择和你游戏版本一致的文件。
AURA – Shield Library 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Eldrithc_ 的其他作品
查看全部 →DealCraft
A modpack for who wants a vanilla friendly modpack. Also for the YouTube and twitch series.
Bulk Crafting
Skip intermediate crafting steps, like crafting Chests directly from Logs! Check the Gallery tab for more details and recipes.
评论
登录后评论和评分