auto: Generated Json Schemas
This commit is contained in:
2
behavior/biomes/biomes.json
vendored
2
behavior/biomes/biomes.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/blocks/blocks.json
vendored
2
behavior/blocks/blocks.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/dialogue/dialogue.json
vendored
2
behavior/dialogue/dialogue.json
vendored
@@ -1 +1 @@
|
||||
{"$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":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.14"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B_rawtext":{"title":"Rawtext","description":"UNDOCUMENTATED","type":"array","items":{"oneOf":[{"type":"string"},{"$ref":"#/definitions/B_translate"},{"$ref":"#/definitions/B_text"},{"$ref":"#/definitions/B_selector"},{"$ref":"#/definitions/B_score"}]}},"B_selector":{"title":"Selector","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"required":["selector"],"properties":{"selector":{"title":"Selector","description":"UNDOCUMENTATED","type":"string","examples":["@a","@s","@r","@p","@e","@initiator"],"pattern":"^@.*$"}}},"B_score":{"title":"Score","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"required":["score"],"properties":{"score":{"title":"Score","description":"UNDOCUMENTATED","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":"UNDOCUMENTATED","type":"string"}}}}},"B_text":{"title":"Text","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"title":"Text","description":"UNDOCUMENTATED","type":"string"}}},"B_translate":{"title":"Translate","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"required":["translate"],"properties":{"translate":{"title":"Translate","description":"UNDOCUMENTATED","type":"string"},"with":{"$ref":"#/definitions/B_with"}}},"B_with":{"title":"With","description":"UNDOCUMENTATED","examples":["\n",{"rawtext":[]}],"items":{"oneOf":[{"type":"string"},{"title":"Rawtext","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"properties":{"rawtext":{"$ref":"#/definitions/B_rawtext"}}}]}},"B":{"title":"RawText","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"required":["rawtext"],"properties":{"rawtext":{"$ref":"#/definitions/B_rawtext"}}},"A":{"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":"UNDOCUMENTATED","type":"object","additionalProperties":false,"properties":{"scenes":{"title":"Scenes","description":"UNDOCUMENTATED","type":"array","minItems":1,"items":{"title":"Scene","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"properties":{"buttons":{"title":"Buttons","description":"UNDOCUMENTATED","type":"array","maxItems":6,"items":{"title":"Button","description":"UNDOCUMENTATED","type":"object","additionalProperties":false,"properties":{"name":{"title":"Name","description":"UNDOCUMENTATED","$ref":"#/definitions/B"},"commands":{"type":"array","description":"UNDOCUMENTATED","title":"Commands","items":{"title":"Minecraft Command","description":"UNDOCUMENTATED","type":"string","pattern":"^/[a-z].*$"}}}}},"npc_name":{"title":"NPC Name","description":"UNDOCUMENTATED","$ref":"#/definitions/B"},"on_close_commands":{"type":"array","description":"UNDOCUMENTATED","title":"On Close Commands","items":{"title":"Minecraft Command","description":"UNDOCUMENTATED","type":"string","pattern":"^/[a-z].*$"}},"scene_tag":{"title":"Scene tag","description":"UNDOCUMENTATED","type":"string"},"text":{"title":"Text","description":"UNDOCUMENTATED","$ref":"#/definitions/B"}}}}}}}},"C":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
|
||||
{"$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":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.14"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B_rawtext":{"title":"Rawtext","description":"UNDOCUMENTED","type":"array","items":{"oneOf":[{"type":"string"},{"$ref":"#/definitions/B_translate"},{"$ref":"#/definitions/B_text"},{"$ref":"#/definitions/B_selector"},{"$ref":"#/definitions/B_score"}]}},"B_selector":{"title":"Selector","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["selector"],"properties":{"selector":{"title":"Selector","description":"UNDOCUMENTED","type":"string","examples":["@a","@s","@r","@p","@e","@initiator"],"pattern":"^@.*$"}}},"B_score":{"title":"Score","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["score"],"properties":{"score":{"title":"Score","description":"UNDOCUMENTED","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":"UNDOCUMENTED","type":"string"}}}}},"B_text":{"title":"Text","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"title":"Text","description":"UNDOCUMENTED","type":"string"}}},"B_translate":{"title":"Translate","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["translate"],"properties":{"translate":{"title":"Translate","description":"UNDOCUMENTED","type":"string"},"with":{"$ref":"#/definitions/B_with"}}},"B_with":{"title":"With","description":"UNDOCUMENTED","examples":["\n",{"rawtext":[]}],"items":{"oneOf":[{"type":"string"},{"title":"Rawtext","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"rawtext":{"$ref":"#/definitions/B_rawtext"}}}]}},"B":{"title":"RawText","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"required":["rawtext"],"properties":{"rawtext":{"$ref":"#/definitions/B_rawtext"}}},"A":{"type":"object","title":"NPC Dialogue","description":"UNDOCUMENTED","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":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"scenes":{"title":"Scenes","description":"UNDOCUMENTED","type":"array","minItems":1,"items":{"title":"Scene","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"buttons":{"title":"Buttons","description":"UNDOCUMENTED","type":"array","maxItems":6,"items":{"title":"Button","description":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"name":{"title":"Name","description":"UNDOCUMENTED","$ref":"#/definitions/B"},"commands":{"type":"array","description":"UNDOCUMENTED","title":"Commands","items":{"title":"Minecraft Command","description":"UNDOCUMENTED","type":"string","pattern":"^/[a-z].*$"}}}}},"npc_name":{"title":"NPC Name","description":"UNDOCUMENTED","$ref":"#/definitions/B"},"on_close_commands":{"type":"array","description":"UNDOCUMENTED","title":"On Close Commands","items":{"title":"Minecraft Command","description":"UNDOCUMENTED","type":"string","pattern":"^/[a-z].*$"}},"scene_tag":{"title":"Scene tag","description":"UNDOCUMENTED","type":"string"},"text":{"title":"Text","description":"UNDOCUMENTED","$ref":"#/definitions/B"}}}}}}}},"C":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
|
||||
2
behavior/entities/entities.json
vendored
2
behavior/entities/entities.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/feature_rules/feature_rules.json
vendored
2
behavior/feature_rules/feature_rules.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/features/features.json
vendored
2
behavior/features/features.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/items/items.json
vendored
2
behavior/items/items.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/loot_tables/loot_tables.json
vendored
2
behavior/loot_tables/loot_tables.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/recipes/recipes.json
vendored
2
behavior/recipes/recipes.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/spawn_rules/spawn_rules.json
vendored
2
behavior/spawn_rules/spawn_rules.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/trading/trading.json
vendored
2
behavior/trading/trading.json
vendored
File diff suppressed because one or more lines are too long
2
behavior/volumes/volumes.json
vendored
2
behavior/volumes/volumes.json
vendored
@@ -1 +1 @@
|
||||
{"$id":"blockception.minecraft.behavior.volumes","examples":[{"format_version":"1.17.0","minecraft:volume":{"description":{"identifier":"example:foo"},"components":{}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.17.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"type":"string","title":"Volume Identifier","description":"A minecraft entity volume","examples":["namespace:volume_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"A":{"type":"object","title":"Spawn Rules 1.17.0","description":"UNDOCUMENTATED","additionalProperties":false,"required":["format_version","minecraft:volume"],"properties":{"format_version":{"const":"1.17.0","description":"Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0.","title":"Format Version"},"minecraft:volume":{"type":"object","title":"Spawn Rules","description":"UNDOCUMENTATED","additionalProperties":false,"properties":{"description":{"type":"object","title":"Description","description":"The description contains a single `identifier` string","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft`.","$ref":"#/definitions/B"}}},"components":{"type":"object","title":"Components","description":"UNDOCUMENTATED","additionalProperties":false,"properties":{"minecraft:bounds":{"title":"Minecraft:bounds","description":"Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.","type":"object","additionalProperties":false,"properties":{"dimension":{"type":"string","description":"The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end`.","title":"Dimension","enum":["overworld","nether","the end"]},"max":{"type":"array","description":"The maximum block position of the bounding box.","title":"Maximum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]},"min":{"type":"array","description":"The minimum block position of the bounding box.","title":"Minimum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]}}},"minecraft:fog":{"title":"Minecraft:fog","description":"Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.","type":"object","additionalProperties":false,"properties":{"fog_identifier":{"type":"string","default":"","description":"The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist.","title":"fog identifier"},"priority":{"type":"integer","default":2147483647,"description":"The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together.","title":"priority"}}}}}}}}},"C":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
|
||||
{"$id":"blockception.minecraft.behavior.volumes","examples":[{"format_version":"1.17.0","minecraft:volume":{"description":{"identifier":"example:foo"},"components":{}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.17.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/C"}}}],"definitions":{"B":{"type":"string","title":"Volume Identifier","description":"A minecraft entity volume","examples":["namespace:volume_name"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"A":{"type":"object","title":"Spawn Rules 1.17.0","description":"UNDOCUMENTED","additionalProperties":false,"required":["format_version","minecraft:volume"],"properties":{"format_version":{"const":"1.17.0","description":"Specifies the version of the game this entity was made in. Minimum supported version is 1.17.0. Current supported version is 1.17.0.","title":"Format Version"},"minecraft:volume":{"type":"object","title":"Spawn Rules","description":"UNDOCUMENTED","additionalProperties":false,"properties":{"description":{"type":"object","title":"Description","description":"The description contains a single `identifier` string","additionalProperties":false,"properties":{"identifier":{"title":"Identifier","description":"The unique identifier for this volume. It must be of the form `namespace:name', where namespace cannot be `minecraft`.","$ref":"#/definitions/B"}}},"components":{"type":"object","title":"Components","description":"UNDOCUMENTED","additionalProperties":false,"properties":{"minecraft:bounds":{"title":"Minecraft:bounds","description":"Component that defines a minimum and maximum block position for a bounding box and which world dimension the bounding box is in. Every volume must have a bounds component.","type":"object","additionalProperties":false,"properties":{"dimension":{"type":"string","description":"The name of the dimension the bounding box will exist in: one of `overworld', `nether` or `the end`.","title":"Dimension","enum":["overworld","nether","the end"]},"max":{"type":"array","description":"The maximum block position of the bounding box.","title":"Maximum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]},"min":{"type":"array","description":"The minimum block position of the bounding box.","title":"Minimum","items":[{"title":"A","type":"number"},{"title":"B","type":"number"},{"title":"C","type":"number"}]}}},"minecraft:fog":{"title":"Minecraft:fog","description":"Displays the given fog whenever a player enters the volume. Each volume can only have one fog attached.","type":"object","additionalProperties":false,"properties":{"fog_identifier":{"type":"string","default":"","description":"The identifier of a fog definition. Note that you will not receive any feedback if the definition does not exist.","title":"fog identifier"},"priority":{"type":"integer","default":2147483647,"description":"The priority for this fog definition setting. Smaller numbers have higher priority. Fogs with equal priority will be combined together.","title":"priority"}}}}}}}}},"C":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^(1)\\.([0-9]+)\\.([0-9]+)$","type":"string"}}}
|
||||
Reference in New Issue
Block a user