<< WIKI:
https://vayk.gitbook.io/blockstocommand/ >>
Video trailer:
Video tutorial:
Add your custom commands to the blocks:
The structures imported supports importing ExecutableBlocks and with it, even ItemsAdder blocks.
If need any help -> DM me in Discord
vayk#1404
The result file looks like this:
Code (YAML):
dontcopythis:
dontcopythis:
playerCommands
:
- execute at
%player% run setblock %block_x_int%+1 %block_y_int%+0 %block_z_int%-3
minecraft:grass
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%-3 %block_y_int%+0 %block_z_int%-2
minecraft:grass
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%-1 %block_y_int%+0 %block_z_int%-2
minecraft:grass
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%+1 %block_y_int%+0 %block_z_int%-2
minecraft:grass_block
[snowy=false
]
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%+2 %block_y_int%+0 %block_z_int%-2
minecraft:grass
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%-3 %block_y_int%+0 %block_z_int%-1
minecraft:grass
- DELAYTICK 1
- execute at
%player% run setblock %block_x_int%-1 %block_y_int%+0 %block_z_int%-1
minecraft:grass
-
..........
- and so on until it copies every block of the area selected