Thanks for asking your question!
Once you have finished, please close your thread.
Use the /close command or button below.
1 messages · Page 1 of 1 (latest)
Once you have finished, please close your thread.
Common ways to open it are by using an npc/script menu or the title command
Just do the GUI with your conditional bind and it will show your GUI or if your Json UI for server_form is not a conditional GUI just show it
How should the code for JSON UI look like? I'm completly new to this.
This is what I have:
{
"namespace": "my_ui",
"test_element": {
"type": "label",
"text": "Hello World"
}
}
{
"namespace": "my_ui",
"test_element": {
"type": "label",
"text": "Hello World"
},
"bindings": [
{
"binding_condition": "always"
}
]
}
Like this?
How?
Damn man, i know Zero abou json ui
Title command is done by editing the hud_screen.json file but I cant remember the other file names
Wait
const my_ui = new ActionFormData()
.title("My UI")
.button("Button 1")
.button("Button 2")
.button("Button 3");
world.events.itemUse.subscribe((event) => {
if (event.item.typeId === "minecraft:stick") {
my_ui.show(event.source);
}
});
Some guy on yt said that json ui is binded to title, how can I nind this?
Hello Everyone again. Hope you all are doing great! Enjoy my voice reveal! Maybe
Song Credits:
Music:
Vexento - Particles
https://youtu.be/4BBZ2VHUitk
https://www.youtube.com/c/Vexento/featured
Vexento - Touch
https://youtu.be/TOG0mCgzsMY
https://www.youtube.com/c/Vexento/featured
Vexento - Capurganá
https://youtu.be/oZNlbt8jWTI
https://www....