minetest.place_node

From Minetest Developer Wiki
Jump to: navigation, search

Contents

Syntax

minetest.place_node(pos, node)

Description

Place node with the same effects that a player would cause.

Parameters

1: List of 3 vertices (x, y, z)

2: Node name

Example

minetest.place_node({x=0, y=0, z=0}, {name="default:dirt"})
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox