Display the inventory formspec

viper121
Member
 
Posts: 28
Joined: Mon Apr 16, 2018 16:34
In-game: viper brendon

Display the inventory formspec

by viper121 » Tue Feb 12, 2019 08:33

Is it possible to display a players inventory formspec from lua?
Im trying to create a item that shows a page in the players unified inventory. My attempts have failed and I cant find anything in the documentation.
I can set a fake inventory formspec using show_formspec but input is broken since unified inventory updates the players actual inventory formspec instead of the one being displayed to them using set_inventory_formspec.
 

Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 4 guests