mirror of
https://github.com/mt-mods/xcompat.git
synced 2025-10-30 15:55:38 +01:00
Add explanations of textures & player api usage, non-function sounds, and some minor touch-up of docs (#55)
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
# 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
|
||||
* `protection_bypass`
|
||||
|
||||
supports
|
||||
|
||||
* minetest game default if present
|
||||
* else polyfill
|
||||
* else polyfill
|
||||
|
||||
Reference in New Issue
Block a user