minetest.place schematic

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.place_schematic(pos, schematic, rotation, replacements, force_placement)

Description

  • Places the schematic specified by schematic (see: Schematic specifier) at pos.
  • Rotation can be "0", "90", "180", "270", or "random".
  • If the rotation parameter is omitted, the schematic is not rotated.
  • replacements = {["old_name"] = "convert_to", ...}
  • force_placement is a boolean indicating whether nodes other than air and ignore are replaced by the schematic

See also

minetest.place_schematic_on_vmanip (https://github.com/minetest/minetest/commit/1384108f8c32f309852c1d1665a613f2a3e3fcc2)



This article is incomplete.




This article is missing examples, feel free to add them.


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox