minetest.find_nodes_in_area_under_air

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.find_nodes_in_area_under_air(pos1, pos2, nodenames)

Description

  • returns a list of positions
  • returned positions are nodes with a node air above
  • `nodenames`: e.g. `{"ignore", "group:tree"}` or `"default:dirt"`
  • faster than using minetest.find_nodes_in_area and searching for air
  • Area volume is limited to 4,096,000 nodes
  • available since 0.4.12-dev
Mbox information.png This article is missing examples.
Feel free to add them.
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox