Advertisement
klownkiller

Turtle block place

Mar 20th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. --[[ Turtle trigger block place brown channel]]
  2.  
  3. while (true) do
  4.     turtle.select(1)
  5.     os.pullEvent("redstone")
  6.     di = rs.getBundledInput("back", colors.black)
  7.     db = turtle.detect()
  8.     if di and not db then
  9.          turtle.place(1, 1)
  10.     end
  11.     os.sleep(1)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement