Untitled
unknown
plain_text
a year ago
627 B
8
Indexable
# Set the starting position of the agent
agent.teleport_to(pos(392, -3, 1563))
# Loop to mine a 2x2 tunnel for 600 blocks along the X-axis
for i in range(600):
# Mine the block in front of the agent
agent.destroy(FORWARD)
# Move forward
agent.move(FORWARD, 1)
# Mine the blocks above, to the left and right for the 2x2 tunnel
agent.destroy(UP)
agent.move(LEFT, 1)
agent.destroy(FORWARD)
agent.destroy(UP)
agent.move(RIGHT, 2)
agent.destroy(FORWARD)
agent.destroy(UP)
agent.move(LEFT, 1)
# Bring the agent back to the starting position
agent.teleport_to(pos(392, -3, 1563))
Editor is loading...
Leave a Comment