mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 07:25:22 +01:00 
			
		
		
		
	Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
This commit is contained in:
		| @@ -888,6 +888,9 @@ minetest.get_inventory(location) -> InvRef | ||||
| minetest.create_detached_inventory(name, callbacks) -> InvRef | ||||
| ^ callbacks: See "Detached inventory callbacks" | ||||
| ^ Creates a detached inventory. If it already exists, it is cleared. | ||||
| minetest.show_formspec(playername, formspec) | ||||
| ^ playername: name of player to show formspec | ||||
| ^ formspec: formspec to display | ||||
|  | ||||
| Item handling: | ||||
| minetest.inventorycube(img1, img2, img3) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user