Skip to content

set_menu [EN]

rarula edited this page Apr 7, 2023 · 2 revisions

If the executor player has Minecart with Chest or Ender Chest open, it will be reconfigured in the specified menu

Run

function sketch:api/set_menu

Arguments

Storage Type Optional Default value Description
sketch: in.id any false - Identifier of the menu to be reconfigured

Example

data modify storage sketch: in.id set value "main"
execute as @a run function sketch:api/set_menu
Clone this wiki locally