turtle.transferTo

From ComputerCraft
Jump to navigation Jump to search

turtle.transferTo
Function
Syntax
turtle.transferTo()
Returns boolean success
API turtle
Source CC:Tweaked (source)

Moves an item to another slot. If quantity is empty, it will move the full stack.

ExampleExampleMove an Item
This code will simply move an item from slot 4 to slot 7.
Code
turtle.select(4)
turtle.transferTo(7)