mirror of
				https://github.com/mt-mods/xcompat.git
				synced 2025-10-31 08:15:28 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			247 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			247 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # 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
 |