The villagers agreed to teach the illagers how to farm, but first they need farmland setup. Have the Agent replace the rest of the dirt with farmland.
The ||hoc2020:till soil below||
block will till the dirt block below the Agent.
The ||hoc2020:agent move||
block will move the Agent in whatever direction you specify.
The ||hoc2020:turn agent||
block will turn the Agent either left or right.
The ||loops:repeat||
block will allow you to repeat a set of blocks multiple times.
for (let i = 0; i < 5; i++) {
hoc2020.tillSoil()
hoc2020.moveAgent()
hoc2020.turnAgent()
}
\\
hoc2020-ts=github:rewrite-media/hoc2020-ts