PlayerRef set_inventory_formspec - Uberi/MineTest-API GitHub Wiki

PlayerRef:set_inventory_formspec

Description

Redefine player's inventory form. Should usually be called in on_joinplayer.

Syntax

set_inventory_formspec([string](../type/string.html) formspec)

Examples

player:set_inventory_formspec("size[9,2]list[current_player;main;0.5,0.5;8,1;]")
⚠️ **GitHub.com Fallback** ⚠️