- check_circle Functions
Published Dec 27th, 2021, 12/27/21 10:34 am
- 15,473 views, 7 today
- 5,349 downloads, 0 today
7
Get a "Speed II" buff when walking on top of grass path blocks.
The data pack checks whether your feet are inside a grass path block since grass path blocks are not full height.
The data pack checks whether your feet are inside a grass path block since grass path blocks are not full height.
Compatibility | Minecraft 1.16 |
to | Minecraft 1.18 |
Tags |
tools/tracking
5424110
119
run-faster-on-grass-paths
Create an account or sign in to comment.
execute as @a at @s if block ~ ~ ~ minecraft:dirt_path run effect give @s minecraft:speed 1 1 true
Doing it that way seems to work great on my server.
I'm very new to Minecraft data packs. Could you please elaborate on how I could fix it for multiplayer or any other changes I could make. Alternatively I have the GitHub page linked if you would want to submit any changes.
www.planetminecraft.com/data-pack/faster-on-paths-fixed/
Edit: for some reason using @p still doesn't work correctly. In my improved version of this pack, it works because I used @e[type=something,distance=..number] because I gave the affect to any ridable entity (which I defined in a tag). While there may be better methods for this version where it only affects players, it would still work better than the current version of this datapack.