How to I make stepping on blocks faster?
I am trying to make a comman with command blocks to make stepping on certain blocks (o.g. dirt_path) going faster. I've asked to chatgpd and it gave me this: /execute at @a if block ~ ~-0.5 ~ minecraft:dirt_path run effect give @s minecraft:speed 1 2 true [+repeat and no redstoon needed(for the first command block)] and: /execute at @a unless block ~ ~-0.5 ~ minecraft:dirt_path run effect clear @s minecraft:speed [+chain, conditional and no redstoon needed(for a second comman block)]. However, this doesn't work, can anyone tell me how to make it work?
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
Also make sure your command blocks are set up right - first one on repeat/unconditional, second one on chain/conditional like you mentioned. The commands themselves look fine otherwise