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?

Voir le contenu lié