I've been trying to set up a class menu system, most of the options for the dialogue are placeholders for now, but the main issue is getting the dialog to work. Ive tested my right click detection to run any other command, but cant get dialogs to show up in game even through commands, showing it like it doesn't even exist. Also yes, my mcmeta file is set to 81.
#Dialogs are very confusing
1 messages · Page 1 of 1 (latest)
Is this the zip you're trying to use as a datapack?
When you open this zip it has a folder that's called class choosing. It should have the data folder and mcmeta on the top level, so opening it should immediately show that instead
Then the folder in data/menu called "dialogues" is named wrong. It should be "dialog"
alr this was the result of a weird windows thing since that only happened after i zipped it, I fixed the other thing but it still doesnt work. Any ideas?
can you send the result so I can take a look again
sure give me a moment
Alr ignore the fact that theres a class choosing in class choosing, i had to zip it to send it through discord
ah ok so I'd definitely recommend using misode's generator as it seems the dialog file itself isn't formatted correctly
misode's generators are the saving grace of everyone in the datapack community
Alr ill keep that in mind
so just replace the file and it should be good?
yeah 😅
as long as the generator doesn't throw errors, it will probably work (or there's other problems)
Alr, thanks a ton!
Hold on one more question, was using the site and was trying to make it so commands run on click. but it keeps giving me the error "trailing data encountered" for everything i write. Am i doing something wrong?
actually I think that might be a bug on the generator side
i tried it in game but i cant get it to work
ill figure it out
maybe
do you have a section that looks like this?
"actions": [
{
"label": "aaaaaaaa",
"action": {
"type": "minecraft:run_command",
"command": "function menu:aaaaaa"
}
}
]
This is what it looks like {
"type": "minecraft:dialog_list",
"title": {
"text": "Choose a class",
"color": "light_purple",
"shadow_color": 0,
"bold": true,
"italic": false,
"underlined": false
},
"inputs": [
{
"type": "minecraft:single_option",
"key": "",
"label": {
"text": "ur a dumbass",
"click_event": {
"action": "run_command",
"command": "effect give @s minecraft:nausea 10 10"
},
"hover_event": {
"action": "show_item",
"id": "minecraft:waxed_weathered_cut_copper_stairs"
}
},
"options": [
{
"id": ""
}
]
},
{
"type": "minecraft:single_option",
"key": "",
"label": {
"text": "Wizard",
"click_event": {
"action": "run_command",
"command": "give @s minecraft:stick 1"
}
},
"options": [
{
"id": ""
}
]
}
],
"can_close_with_escape": true,
"exit_action": {
"label": {
"text": "exit"
}
},
"dialogs": []
}