turtle.suck
From ComputerCraft Wiki
Function turtle.suck | |
Moves one or more items from either the ground in front of the turtle, or, from an inventory-enabled block (such as a chest) in front of the turtle.
| |
Syntax | turtle.suck([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
Example | |
Picks up some items from in front of the turtle. | |
Code |
turtle.suck() |