Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Keep Away Aura
Mobs and dropped items within 30 blocks of a player are pushed away from the nearest one.
How it works
- Every tick the pack sets the horizontal velocity of each mob and dropped item away from the nearest player.
- It's real movement, not teleportation: entities collide with walls and keep falling and jumping normally, since only horizontal velocity is touched.
- The push speed is constant: 0.15 blocks per tick (3 blocks per second), regardless of distance.
- Only mobs and dropped items are pushed. Arrows, minecarts, boats, armor stands and other entities are left alone. The list lives in
data/keep_away_aura/tags/entity_type/targets.json. - Players in spectator mode don't push anything.
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
- Drops run away too. Items from mined blocks and killed mobs slide off at 3 blocks per second, while a walking player makes about 4.3: you can catch them or pin them against a wall, but gathering gets noticeably harder.
- Melee mobs can barely reach a player: a zombie walks at about 2.3 blocks per second, slower than the push. Ranged mobs are unaffected.
- Mobs' own AI still runs, so the push and their pathfinding fight each other.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources