This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have an old 2 command block script that I used around way back in 1.9
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"summon Arrow ~ ~1 ~"},{id:MinecartCommandBlock,Command:"/gamerule logAdminCommands false"},{id:MinecartCommandBlock,Command:"/setworldspawn ~ ~ ~"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add grass_timer dummy"},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/setblock ~ ~ ~ mob_spawner 0 replace {Delay:0,MinSpawnDelay:0,MaxSpawnDelay:1,MaxNearbyEntities:32760,RequiredPlayerRange:-1,SpawnData:{id:Arrow,damage:-1,pickup:1,life:1199},SpawnPotentials:[{Entity:{id:Arrow,damage:-1,pickup:1,life:1199}}]}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 13 replace {auto:1,Command:"/scoreboard players reset @a[score_grass_timer_min=75] grass_timer"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_grass_timer_min=75] ~ ~ ~ fill ~ ~-1 ~ ~ ~-1 ~ grass_path 0 replace dirt"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=Player] grass_timer 1"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]} summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"summon Arrow ~ ~1 ~"},{id:MinecartCommandBlock,Command:"/gamerule logAdminCommands false"},{id:MinecartCommandBlock,Command:"/setworldspawn ~ ~ ~"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add grass_timer dummy"},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/setblock ~ ~ ~ mob_spawner 0 replace {Delay:0,MinSpawnDelay:0,MaxSpawnDelay:1,MaxNearbyEntities:32760,RequiredPlayerRange:-1,SpawnData:{id:Arrow,damage:-1,pickup:1,life:1199},SpawnPotentials:[{Entity:{id:Arrow,damage:-1,pickup:1,life:1199}}]}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 13 replace {auto:1,Command:"/scoreboard players reset @a[score_grass_timer_min=75] grass_timer"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_grass_timer_min=75] ~ ~ ~ fill ~ ~-1 ~ ~ ~-1 ~ dirt 0 replace grass"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5 replace {auto:1,Command:"/scoreboard players add @e[type=Player] grass_timer 1"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Where it would turn grass blocks into dirt, then dirt blocks to grass path, all while standing on them for a few seconds. This would create paths on frequently travelled routes around my world without having me manually use a shovel to create them. Could anyone convert this to work for 1.14 or turn it into a loadable datapack with a similar functionality?
Syntax, command names, and plenty have changed since 1.9. Anyone have good tutorials for datapacks as well?
I have an old 2 command block script that I used around way back in 1.9
Where it would turn grass blocks into dirt, then dirt blocks to grass path, all while standing on them for a few seconds.
This would create paths on frequently travelled routes around my world without having me manually use a shovel to create them.
Could anyone convert this to work for 1.14 or turn it into a loadable datapack with a similar functionality?
Servers Rules|Support Forum Rules|Show Your Creation Rules|Off Topic Rules
Syntax, command names, and plenty have changed since 1.9. Anyone have good tutorials for datapacks as well?
Servers Rules|Support Forum Rules|Show Your Creation Rules|Off Topic Rules