minetest-mm/mods/xcompat/doc/functions.md

13 lines
241 B
Markdown
Raw Normal View History

2024-12-19 12:55:40 +01:00
# Functions API
## `can_interact_with_node(player, pos)`
returns `bool`
checks for the ability to interact with a node via:
* if a player
* owner metadata key
* protection_bypass
supports
* minetest game default if present
* else polyfill