Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.select(4)
- slotcl=1
- countcl=0
- print("Slot 1 Minium Stone")
- print("Input: Down-Chest: Iron, Gold, Wood planks")
- print("Output: Up-Chest: Ender Pearl, Diamond, Wood ")
- while true do
- if turtle.getItemCount(2)==0 then
- turtle.suckDown()
- turtle.transferTo(2, 1)
- turtle.dropDown()
- end
- if turtle.getItemCount(5)==0 then
- turtle.suckDown()
- turtle.transferTo(5, 1)
- turtle.dropDown()
- end
- if turtle.getItemCount(6)==0 then
- turtle.suckDown()
- turtle.transferTo(6, 1)
- turtle.dropDown()
- end
- if turtle.getItemCount(9)==0 then
- turtle.suckDown()
- turtle.transferTo(9, 1)
- turtle.dropDown()
- end
- slotcl=1
- countcl=0
- for asas=1, 16 do
- countcl = countcl + turtle.getItemCount(slotcl)
- slotcl=slotcl+1
- end
- if countcl==5 then
- turtle.select(4)
- turtle.craft()
- turtle.dropUp()
- else
- print("sleep")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment