Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- t.select(16)
- local hasItem = t.suckDown()
- local offset = 1
- local function dropAt(pos)
- for i=1,pos+offset do
- t.forward()
- end
- t.dropDown()
- for i=1,pos+offset do
- t.back()
- end
- end
- if (hasItem) then
- for i=1,15 do
- if ( t.compareTo(i) ) then
- dropAt(i)
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment