How can you check whether there's air at a certain point (preferably several blocks), and after some random time let a grass sit down there?
It is best if the weed should not drop seeds either.
By the way, I don't mean the gamerule randomtickspeed.
/ scoreboard objectives add air dummy
/ execute if block x y z air run scoreboard players add air air 1
/ setblock x y z grass
/ scoreboard players reset air air
Connect the command block with a randomizer clock
With / execute if blocks you can only compare areas. Unfortunately, I don't know how to test several blocks at once.
Thank you for your answer!