Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mine()
- turtle.dig()
- mine.gravel()
- turtle.digUp()
- end
- function bridge()
- if turtle.detectDown() == false then
- drop = 0
- for i=1,16 do
- drop = drop + 1
- turtle.select(drop)
- icount = turtle.getItemCount()
- if icount >= 1 == true then
- local item = turtle.getItemDetail()
- if item.name == "minecraft:dirt" == true then
- turtle.placeDown()
- turtle.select(1)
- break
- else
- end
- else
- end
- end
- end
- end
- function clear()
- drop = 0
- for i = 1,16 do
- drop = drop + 1
- turtle.select(drop)
- icount = turtle.getItemCount()
- if icount >= 1 == true then
- local item = turtle.getItemDetail()
- if item.name == "minecraft:torch" == false then
- turtle.drop()
- end
- end
- function torch()
- drop = 0
- for i=1,16 do
- drop = drop + 1
- turtle.select(drop)
- icount = turtle.getItemCount()
- if icount >= 1 == true then
- local item = turtle.getItemDetail()
- if item.name == "minecraft:torch" == true then
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.place()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(1)
- break
- else
- end
- else
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement