turtle.place

From ComputerCraft
Jump to navigation Jump to search

turtle.place
Function
Syntax
turtle.place()
Returns boolean success
API peripheral
Source Lua (source)

Places a block in the turtle’s selected slot in front of the turtle.

Errore nella creazione della miniatura: Impossibile salvare la miniatura nella destinazione
ExamplePlace a block
Prints if turtle successfully placed the block.
Code
print(turtle.place())
Output true