16 posts
Posted 18 December 2015 - 12:22 AM
Hi guys after seeying the API of the turtles I could not find info about this.
It is possible to move an item that say its on slot 10 to slot 1 ?! And if they have the same ID just stack them ?!
Thanks in advance
1080 posts
Location
In the Matrix
Posted 18 December 2015 - 12:27 AM
turtle.select(1)
turtle.transferTo(2)
Moves the items from slot 1, to slot 2.
Won't transfer to slots filled with non-stackable items or different items from itself.
Edited on 17 December 2015 - 11:29 PM
16 posts
Posted 18 December 2015 - 12:32 AM
turtle.select(1)
turtle.transferTo(2)
Moves the items from slot 1, to slot 2.
Won't transfer to slots filled with non-stackable items or different items from itself.
Thanks :D/>
Just trying to get all the coal into the same slot (at least a stack of it) for fuel, and only drop items from 2 to 16 into the chest
2427 posts
Location
UK
Posted 18 December 2015 - 12:50 AM
and only drop items from 2 to 16 into the chest
turtle.drop can take a number for how many items to drop
Edited on 17 December 2015 - 11:51 PM
1080 posts
Location
In the Matrix
Posted 18 December 2015 - 02:21 AM
and only drop items from 2 to 16 into the chest
turtle.drop can take a number for how many items to drop
I think you misunderstand, he means slots 2-16