Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...};
- orientation = 1; -- 1: N, 2: E, 3: S, 4: W
- local pos = vector.new(gps.locate());
- -- function forward()
- -- end
- -- if pos.z == nil then
- -- print("please present arguments");
- -- return;
- -- end
- local success, data = turtle.inspectDown();
- if success then
- print("Block name: ", data.name);
- print("Block metadata: ", data.metadata);
- end
- print("x: ", pos.x);
- print("y: ", pos.y);
- print("z: ", pos.z);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement