turtle.place

From ComputerCraft Wiki
Revision as of 17:16, 4 December 2012 by 93.174.93.145 (Talk) (Im gonna pop some tags only got $20 in my pocket. i-i-im hunting for a come-up. this is FUCKing awesome.)

Jump to: navigation, search


Grid Redstone.png  Function turtle%2Eplace
Places the selected block in front of the Turtle. Add [signText] to sign if given.
Syntax turtle%2Eplace()
Returns boolean whether the turtle succeeded in placing the block. False if selected slot is empty, the space is protected, or if there is already a block in front.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Places the selected block in front of the Turtle.
Code
turtle.place()