Code:
every 2 seconds in world "world":
loop all blocks:
if loop-block-1 is a composter:
set {autoharvcomp} to {_loc} of loop-block
loop all blocks in radius 5 around {autoharvcomp}:
if loop-block-2 is fully grown wheat plant:
set block at loop-block-2 to freshly planted wheat plant
loop all blocks in radius 5 around {autoharvcomp}:
if loop-block-3 is chest:
set {autoharvchest} to block at loop-block-3
add 2 wheat to {autoharvchest}'s inventory
if loop-block-3 is hopper:
set {autoharvchest} to block at loop-block-3
add 2 wheat to {autoharvchest}'s inventory
I have been trying to make an auto-harvester skript, and I just forgot about it for a little, and then it popped up and I forgot that I had posted about it a long time ago and I still need help. There are no errors or anything it just doesn't work.