Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("back", false)
- rednet.open("right")
- while true do
- if turtle.getItemCount(1) < 1 then
- redstone.setOutput("back", true)
- sleep(0.5)
- redstone.setOutput("back", false)
- sleep(0.5)
- if turtle.getItemCount(1) < 1 then
- print("- PLUS DE WITHER HEAD -")
- end
- end
- local id,message,dist = rednet.receive(1)
- if message == "place" then
- turtle.place()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement