Difference between revisions of "Turtle.placeDown"
From ComputerCraft Wiki
(returns bool) |
(Adding "see also" and making description clearer.) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
|api=turtle | |api=turtle | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
| − | |desc=Places a Block of the selected Slot | + | |desc=Places below a Block of the selected Slot. |
| − | |returns=[[boolean]] whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block below. | + | |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 below. |
|examples= | |examples= | ||
{{Example | {{Example | ||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | ==See also== | ||
| + | *[[turtle.place]] | ||
| + | *[[turtle.placeUp]] | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Latest revision as of 18:03, 22 April 2015
| Places below a Block of the selected Slot. | |
| Syntax | turtle.placeDown() |
| Returns | boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block below. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Places a Block of the selected Slot below | |
| Code |
turtle.placeDown() |