マイクラのバージョン1.20.1で看板を右クリックした時にダイヤモンドを手に入れるコマンド

/data merge block ~ ~ ~ {front_text:{messages:['{"clickEvent":{"action":"run_command","value":"give @s minecraft:diamond"},"text":"文章1"}','"文章2"','"文章3"','"文章4"']}}


/data merge block ~ ~ ~ {front_text:{messages:['{"clickEvent":{"action":"run_command","value":"give @s minecraft:diamond"},"text":"文章1"}','"文章2"','"文章3"','"文章4"']}}

/data merge block ~ ~ ~ {Text1:'{"text":"文章1","clickEvent":{"action":"run_command","value":"give @p minecraft:diamond"}}'}

Text1:'A'をfront_text:{messages:['A','B','C','D']}で行けるはず。

/setblock ~ ~ ~ minecraft:cherry_wall_sign{front_text:{messages:['{"clickEvent":{"action":"run_command","value":"give @s minecraft:diamond"},"text":"文章1"}','"文章2"','"文章3"','"文章4"']}}