minetest.find_nodes_in_area_under_air

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.find_nodes_in_area_under_air(minp, maxp, 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
  • available since 0.4.12-dev

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


Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox