Difference between revisions of "Turtle.place"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
(Corrected mapping from "Boolean" to "Boolean (type)") |
||
Line 5: | Line 5: | ||
|api=turtle | |api=turtle | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |returns=[[boolean]] whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block in front. | + | |returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block in front. |
|desc=Places the selected block in front of the Turtle. Add [signText] to sign if given. | |desc=Places the selected block in front of the Turtle. Add [signText] to sign if given. | ||
|examples= | |examples= |
Revision as of 13:45, 30 November 2012
Function turtle.place | |
Places the selected block in front of the Turtle. Add [signText] to sign if given. | |
Syntax | turtle.place() |
Returns | boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block in front. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Places the selected block in front of the Turtle. | |
Code |
turtle.place() |