auto: Formatted json files
This commit is contained in:
@@ -1,93 +1,93 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.dialogue.1.14.0",
|
||||
"type": "object",
|
||||
"title": "NPC Dialogue",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:npc_dialogue"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": "1.14.0",
|
||||
"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",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"scenes": {
|
||||
"title": "Scenes",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"title": "Scene",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"buttons": {
|
||||
"title": "Buttons",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"maxItems": 6,
|
||||
"items": {
|
||||
"title": "Button",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
},
|
||||
"commands": {
|
||||
"type": "array",
|
||||
"description": "",
|
||||
"title": "Commands",
|
||||
"items": {
|
||||
"title": "Minecraft Command",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z].*$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"npc_name": {
|
||||
"title": "NPC Name",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
},
|
||||
"on_close_commands": {
|
||||
"type": "array",
|
||||
"description": "",
|
||||
"title": "On Close Commands",
|
||||
"items": {
|
||||
"title": "Minecraft Command",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z].*$"
|
||||
}
|
||||
},
|
||||
"scene_tag": {
|
||||
"title": "Scene tag",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.dialogue.1.14.0",
|
||||
"type": "object",
|
||||
"title": "NPC Dialogue",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:npc_dialogue"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": "1.14.0",
|
||||
"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",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"scenes": {
|
||||
"title": "Scenes",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"title": "Scene",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"buttons": {
|
||||
"title": "Buttons",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"maxItems": 6,
|
||||
"items": {
|
||||
"title": "Button",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
},
|
||||
"commands": {
|
||||
"type": "array",
|
||||
"description": "",
|
||||
"title": "Commands",
|
||||
"items": {
|
||||
"title": "Minecraft Command",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z].*$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"npc_name": {
|
||||
"title": "NPC Name",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
},
|
||||
"on_close_commands": {
|
||||
"type": "array",
|
||||
"description": "",
|
||||
"title": "On Close Commands",
|
||||
"items": {
|
||||
"title": "Minecraft Command",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"pattern": "^/[a-z].*$"
|
||||
}
|
||||
},
|
||||
"scene_tag": {
|
||||
"title": "Scene tag",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"$ref": "../../../general/rawtext/rawtext.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.feature_rules",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.14.0",
|
||||
"minecraft:npc_dialogue": {
|
||||
"scenes": [
|
||||
{
|
||||
"scene_tag": "fast_travel",
|
||||
"npc_name": { "rawtext": [{ "translate": "dialogue.guide.name" }] },
|
||||
"text": { "rawtext": [{ "translate": "dialogue.fast_travel.body", "with": ["\n"] }] },
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/dialogue.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14" } } }, "then": { "$ref": "./1.14.0/dialogue.json" } },
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
}
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.feature_rules",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.14.0",
|
||||
"minecraft:npc_dialogue": {
|
||||
"scenes": [
|
||||
{
|
||||
"scene_tag": "fast_travel",
|
||||
"npc_name": { "rawtext": [{ "translate": "dialogue.guide.name" }] },
|
||||
"text": { "rawtext": [{ "translate": "dialogue.fast_travel.body", "with": ["\n"] }] },
|
||||
"buttons": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/dialogue.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14" } } }, "then": { "$ref": "./1.14.0/dialogue.json" } },
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,125 +1,125 @@
|
||||
{
|
||||
"title": "RawText",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["rawtext"],
|
||||
"definitions": {
|
||||
"rawtext": {
|
||||
"title": "Rawtext",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "#/definitions/translate" },
|
||||
{ "$ref": "#/definitions/text" },
|
||||
{ "$ref": "#/definitions/selector" },
|
||||
{ "$ref": "#/definitions/score" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"title": "Selector",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["selector"],
|
||||
"properties": {
|
||||
"selector": {
|
||||
"title": "Selector",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"examples": ["@a", "@s", "@r", "@p", "@e", "@initiator"],
|
||||
"pattern": "^@.*$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"score": {
|
||||
"title": "Score",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["score"],
|
||||
"properties": {
|
||||
"score": {
|
||||
"title": "Score",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "objective"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Selector",
|
||||
"description": "A selector, player name (can be fake), or *",
|
||||
"type": "string",
|
||||
"examples": ["@a", "@s", "@r", "@p", "@e", "@initiator", "*"]
|
||||
},
|
||||
"objective": {
|
||||
"title": "Objective",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"translate": {
|
||||
"title": "Translate",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["translate"],
|
||||
"properties": {
|
||||
"translate": {
|
||||
"title": "Translate",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
},
|
||||
"with": {
|
||||
"$ref": "#/definitions/with"
|
||||
}
|
||||
}
|
||||
},
|
||||
"with": {
|
||||
"title": "With",
|
||||
"description": "",
|
||||
"examples": ["\n", { "rawtext": [] }],
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{
|
||||
"title": "Rawtext",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"rawtext": {
|
||||
"$ref": "#/definitions/rawtext"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"rawtext": {
|
||||
"$ref": "#/definitions/rawtext"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"title": "RawText",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["rawtext"],
|
||||
"definitions": {
|
||||
"rawtext": {
|
||||
"title": "Rawtext",
|
||||
"description": "",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "#/definitions/translate" },
|
||||
{ "$ref": "#/definitions/text" },
|
||||
{ "$ref": "#/definitions/selector" },
|
||||
{ "$ref": "#/definitions/score" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
"title": "Selector",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["selector"],
|
||||
"properties": {
|
||||
"selector": {
|
||||
"title": "Selector",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"examples": ["@a", "@s", "@r", "@p", "@e", "@initiator"],
|
||||
"pattern": "^@.*$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"score": {
|
||||
"title": "Score",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["score"],
|
||||
"properties": {
|
||||
"score": {
|
||||
"title": "Score",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["name", "objective"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Selector",
|
||||
"description": "A selector, player name (can be fake), or *",
|
||||
"type": "string",
|
||||
"examples": ["@a", "@s", "@r", "@p", "@e", "@initiator", "*"]
|
||||
},
|
||||
"objective": {
|
||||
"title": "Objective",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"title": "Text",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"translate": {
|
||||
"title": "Translate",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["translate"],
|
||||
"properties": {
|
||||
"translate": {
|
||||
"title": "Translate",
|
||||
"description": "",
|
||||
"type": "string"
|
||||
},
|
||||
"with": {
|
||||
"$ref": "#/definitions/with"
|
||||
}
|
||||
}
|
||||
},
|
||||
"with": {
|
||||
"title": "With",
|
||||
"description": "",
|
||||
"examples": ["\n", { "rawtext": [] }],
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{
|
||||
"title": "Rawtext",
|
||||
"description": "",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"rawtext": {
|
||||
"$ref": "#/definitions/rawtext"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"rawtext": {
|
||||
"$ref": "#/definitions/rawtext"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user