dialog show @s { \
type: "minecraft:multi_action", \
title: { \
text: "Shop", \
color: "gold", \
}, \
body: { \
type: "minecraft:plain_message", \
contents: "", \
}, \
inputs: [], \
can_close_with_escape: true, \
after_action: "close", \
actions: [ \
{ \
label: "Hylian Shield", \
action: { \
type: "minecraft:run_command", \
command: "function ssbrc:shop/hylian_shield", \
}, \
}, \
], \
}
it would look something like this: