Home›Java›Datapacks›Keep Away Aura
Keep Away Aura
DatapacksJava

Keep Away Aura

Java data pack listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by Sansrus · on Modrinth

⬇ Download on Modrinth

Keep Away Aura

Mobs and dropped items within 30 blocks of a player are pushed away from the nearest one.

How it works

Configuration

The speed is set in data/keep_away_aura/function/push.mcfunction, in two lines:

execute store result entity @s Motion[0] double 0.00015 run scoreboard players get #x keep_away_aura.calc
execute store result entity @s Motion[2] double 0.00015 run scoreboard players get #z keep_away_aura.calc

The multiplier is the speed in blocks per tick divided by 1000: 0.00015 = 0.15, 0.00035 = 0.35. Change both lines.

The radius is set in data/keep_away_aura/function/tick.mcfunction: distance=..30.

Run /reload after editing.

Limitations

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more