Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- for slot = 1, 16 do
- local itemDetail = turtle.getItemDetail(slot)
- if itemDetail and itemDetail.name == "minecraft:soul_sand" then
- turtle.select(slot)
- turtle.place() -- 1 place
- sleep(0.5)
- turtle.up()
- sleep(0.5)
- turtle.place() -- 2 place
- sleep(0.5)
- turtle.turnRight()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.turnLeft()
- sleep(0.5)
- turtle.place() -- 3 place
- sleep(0.5)
- turtle.turnLeft()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.turnRight()
- sleep(0.5)
- turtle.place()
- sleep(0.5)
- turtle.up()
- break
- end
- end
- for slot = 1, 16 do
- local itemDetail = turtle.getItemDetail(slot)
- if itemDetail and itemDetail.name == "minecraft:wither_skeleton_skull" then
- turtle.select(slot)
- turtle.place() -- 1 place
- sleep(0.5)
- turtle.turnRight()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.turnLeft()
- sleep(0.5)
- turtle.place() -- 2 place
- sleep(0.5)
- turtle.turnRight()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.turnLeft()
- sleep(0.5)
- turtle.place() -- 3 place
- break
- end
- end
- turtle.down()
- sleep(0.5)
- turtle.down()
- sleep(0.5)
- turtle.down()
- sleep(0.5)
- turtle.turnLeft()
- sleep(0.5)
- turtle.forward()
- sleep(0.5)
- turtle.turnRight()
- sleep(15)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement