• 12/27/21 10:34 am
- 17.6k views • 8 today
- save_alt 5.6k downloads
- Compatibility
- Minecraft 1.16
- to version
- Minecraft 1.18
- Changes include
- Functions
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.
5424110
119



Have something to say?
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.