I have a functioning command that will grant a speed I effect if someone is standing on a grass path. The intent is used to encourage creating "roads".
execute as @a at @s if block ~ ~ ~ grass_path run effect give @s speed 5 0 true
I would like to extend this to more "roads". An idea used by TheBalliBoys was to have "some type of stone" over cobble over gravel, and for even greater speed have "some type of stone" over cobble over gravel over sand.
I do not wish to grant "speed III" boosts, and I'm not using travel as a "skill". I just want to encourage the creation of paths as a means of travel. This has worked, but we are really only using grass paths because that is the only one with a speed bonus.
I think a good place to start would be "jack-o-lantern over cobble, as this would be a very deliberate action to create and not likely to be found naturally. I *think* maybe I could simplify this with a "roadtop" tag and shoving what blocks to allow as road surface to be within that tag group. Then a "road" becomes "something with the roadtop tag over cobble."
Does this make sense as a way to do this? Would there be a relatively clean way to form the above "execute" with this in mind?
I have a functioning command that will grant a speed I effect if someone is standing on a grass path. The intent is used to encourage creating "roads".
execute as @a at @s if block ~ ~ ~ grass_path run effect give @s speed 5 0 true
I would like to extend this to more "roads". An idea used by TheBalliBoys was to have "some type of stone" over cobble over gravel, and for even greater speed have "some type of stone" over cobble over gravel over sand.
I do not wish to grant "speed III" boosts, and I'm not using travel as a "skill". I just want to encourage the creation of paths as a means of travel. This has worked, but we are really only using grass paths because that is the only one with a speed bonus.
I think a good place to start would be "jack-o-lantern over cobble, as this would be a very deliberate action to create and not likely to be found naturally. I *think* maybe I could simplify this with a "roadtop" tag and shoving what blocks to allow as road surface to be within that tag group. Then a "road" becomes "something with the roadtop tag over cobble."
Does this make sense as a way to do this? Would there be a relatively clean way to form the above "execute" with this in mind?