Advertisement
ihatetn931

Block Placer

May 13th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2.     if turtle.detect() then
  3.         term.setCursorPos(1,1);
  4.         print("There is a block in front of the turtle!");
  5.         term.clearLine();
  6.     else
  7.         term.setCursorPos(1,1);
  8.         print("Placing Block");
  9.         term.clearLine();
  10.         turtle.place();
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement