Currently its possible to pass the amount of "columns" for actions that get presented in each row.
But the body is not affected from that attribute. Means if i want to have several items on a row, its not possible. As well i cant select "item" in the action as type.
So a possibility to get several items on a row would be nice. Like making the body react to the "column" property or to add items like selectable input in the action property.
Example (That how its currently, but i want the items like the numbers from 1-10):
dialog show @p {type:"minecraft:multi_action",title:"Examples",
body:[{type:"minecraft:item",item:{id:"minecraft:acacia_sapling"},width:16,height:16},
{type:"minecraft:item",item:{id:"minecraft:allay_spawn_egg"},width:16,height:16}],
columns:5,actions:[{label:"1",width:32},{label:"2",width:32},{label:"3",width:32},{label:"4",width:32},{label:"5",width:32},
{label:"6",width:32},{label:"7",width:32},{label:"8",width:32},{label:"9",width:32},{label:"10",width:32}]}
Please sign in to leave a comment.
0 Comments