2021-06-15 17:13:13 +00:00
{
"$id" : "blockception.minecraft.behavior.dialogue.1.14.0" ,
"type" : "object" ,
"title" : "NPC Dialogue" ,
2021-06-16 16:19:12 +02:00
"description" : "UNDOCUMENTED" ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-15 17:13:13 +00:00
"additionalProperties" : false ,
"required" : [ "format_version" , "minecraft:npc_dialogue" ] ,
"properties" : {
"format_version" : {
2021-07-04 16:13:20 +02:00
"type" : "string" ,
2021-06-15 17:13:13 +00:00
"description" : "Specifies the version of the game this entity was made in. Minimum supported version is 1.14.0. Current supported version is 1.14.0." ,
"title" : "Format Version"
} ,
"minecraft:npc_dialogue" : {
"title" : "NPC Dialogue" ,
2021-06-16 16:19:12 +02:00
"description" : "UNDOCUMENTED" ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-15 17:13:13 +00:00
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"scenes" : {
"title" : "Scenes" ,
2021-06-16 16:19:12 +02:00
"description" : "UNDOCUMENTED" ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-15 17:13:13 +00:00
"type" : "array" ,
"minItems" : 1 ,
"items" : {
"title" : "Scene" ,
2021-06-16 16:19:12 +02:00
"description" : "UNDOCUMENTED" ,
2021-07-01 11:35:53 +02:00
"$comment" : "UNDOCUMENTED" ,
2021-06-15 17:13:13 +00:00
"type" : "object" ,
"additionalProperties" : false ,
2021-07-13 22:16:14 +02:00
"required" : [ "scene_tag" ] ,
"examples" : [ { "scene_tag" : "foo_intro" } ] ,
2021-06-15 17:13:13 +00:00
"properties" : {
"buttons" : {
"title" : "Buttons" ,
2021-07-13 22:16:14 +02:00
"description" : "This is where you can create buttons for your NPC" ,
2021-06-15 17:13:13 +00:00
"type" : "array" ,
"maxItems" : 6 ,
"items" : {
"title" : "Button" ,
2021-07-13 22:16:14 +02:00
"description" : "This is where you can create buttons for your NPC" ,
2021-06-15 17:13:13 +00:00
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"name" : {
"title" : "Name" ,
2021-07-13 22:16:14 +02:00
"description" : "Set the text that is going to be displayed on your NPC’ s button" ,
2021-06-15 17:13:13 +00:00
"$ref" : "../../../general/rawtext/rawtext.json"
} ,
"commands" : {
"type" : "array" ,
2021-07-13 22:16:14 +02:00
"description" : "allows you to add commands which will be run in-game when the button is pressed" ,
2021-06-15 17:13:13 +00:00
"title" : "Commands" ,
"items" : {
"title" : "Minecraft Command" ,
2021-07-13 22:16:14 +02:00
"description" : "The commands to execute" ,
2021-06-15 17:13:13 +00:00
"type" : "string" ,
"pattern" : "^/[a-z].*$"
}
}
}
}
} ,
"npc_name" : {
"title" : "NPC Name" ,
2021-07-13 22:16:14 +02:00
"description" : "This is where you can add or change a name for your NPC dialogue box. This is an optional property that is useful for dynamically changing NPC names." ,
2021-06-15 17:13:13 +00:00
"$ref" : "../../../general/rawtext/rawtext.json"
} ,
"on_close_commands" : {
"type" : "array" ,
2021-07-13 22:16:14 +02:00
"description" : "This is where you can define which commands will fire when the NPC dialogue box closes" ,
2021-06-15 17:13:13 +00:00
"title" : "On Close Commands" ,
"items" : {
"title" : "Minecraft Command" ,
2021-07-13 22:16:14 +02:00
"description" : "A minecraft command to execute" ,
"type" : "string" ,
"pattern" : "^/[a-z].*$"
}
} ,
"on_open_commands" : {
"type" : "array" ,
"description" : "This is where you can define which commands will fire when the NPC dialogue box opens" ,
"title" : "On Close Commands" ,
"items" : {
"title" : "Minecraft Command" ,
"description" : "A minecraft command to execute" ,
2021-06-15 17:13:13 +00:00
"type" : "string" ,
"pattern" : "^/[a-z].*$"
}
} ,
"scene_tag" : {
2021-07-04 16:13:20 +02:00
"title" : "Scene Tag" ,
2021-07-13 22:16:14 +02:00
"description" : "This is the name you will use to call this scene in-game. This is a required property." ,
2021-06-15 17:13:13 +00:00
"type" : "string"
} ,
"text" : {
"title" : "Text" ,
2021-07-13 22:16:14 +02:00
"description" : "This is where you enter the dialogue you want your NPC to display in-game for this scene. You can type the dialogue text directly here or use raw text if you are using a language file. This is an optional property, but without it your NPC dialogue box will be empty." ,
2021-06-15 17:13:13 +00:00
"$ref" : "../../../general/rawtext/rawtext.json"
}
}
}
}
}
}
}
}