minetest.remove_node

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.remove_node(pos)

Description

Equivalent to minetest.set_node(pos, {name="air"})
According to a benchmark test, minetest.set_node(pos, {name="air"}) works about 1.24 times as fast as minetest.remove_node(pos).

Example

minetest.remove_node({x=1, y=2, z=3})
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox