turtle.suckUp
From ComputerCraft Wiki
Revision as of 21:04, 21 April 2015 by MisterSanderson (Talk | contribs) (Adding "see also" and correcting the name of the function.)
Moves one or more items from either the ground above the turtle, or, from an inventory-enabled block (such as a chest) above the turtle.
| |
| Syntax | turtle.suck.Up([number amount]) |
| Returns | boolean true if at least one item was moved into the turtle's inventory; false otherwise. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Picks up some items from above the turtle. | |
| Code |
turtle.suckUp() |