2

Need help with dialog java 25w20a

romanorose 5/25/25 8:11 am
145
5/25/2025 10:25 am
got a datapck for multiple homes but without names. i need a inputfield as third button next to tp home for example: #Set Home2# #Tp Home2# #name: base#



look picture below


my dialog:


{
"type": "minecraft:multi_action",
"title": "Datapack by romanorose",
"columns": 2,
"body": [
{
"type": "plain_message",
"contents": "Homes"
}
],
"actions": [
{
"label": {"text":"Set Home1"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome"
}
},
{
"label": {"text":"Tp Home1"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home"
}
},
{
"label": {"text":"Set Home2"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome2"
}
},
{
"label": {"text":"Tp Home2"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home2"
}
},{
"label": {"text":"Set Home3"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome3"
}
},
{
"label": {"text":"Tp Home3"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home3"
}
},{
"label": {"text":"Set Home4"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome4"
}
},
{
"label": {"text":"Tp Home4"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home4"
}
},
{
"label": {"text":"Set Home5"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome5"
}
},
{
"label": {"text":"Tp Home5"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home5"
}
},
{
"label": {"text":"Set Home6"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome6"
}
},
{
"label": {"text":"Tp Home6"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home6"
}
},
{
"label": {"text":"Set Home7"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome7"
}
},
{
"label": {"text":"Tp Home7"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home7"
}
},
{
"label": {"text":"Set Home8"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome8"
}
},
{
"label": {"text":"Tp Home8"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home8"
}
},
{
"label": {"text":"Set Home9"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger sethome9"
}
},
{
"label": {"text":"Tp Home9"},
"width": 80,
"on_click": {
"action": "run_command",
"command": "trigger home9"
}
}




]


}
Posted by
romanorose
Level 28 : Expert Miner
3

  Have something to say?

JoinSign in

3

CommandYaw
05/25/2025 10:25 am
He/Him • Level 40 : Master Engineer
Don't know if that's easily possible.
1
Pyxell
05/25/2025 8:36 am
Level 40 : Master Editor Pixel Painter
Hast du den trigger home commant mit 3 commantblöcken definiert?
1
Pyxell
05/25/2025 8:35 am
Level 40 : Master Editor Pixel Painter
wo is das problem?
1

Welcome