minetest.set node

Same as

Description
Sets node at pos to. Note that  is a table, not a string (see node). It may work faster in a minetest.register_on_generated.

NOTE: This method will not keep the node metadata of the previous node. Use  for that.