Skip to content

Commit

Permalink
auto: Generated Json Schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Blockception Bot authored and Blockception Bot committed Jun 9, 2021
1 parent b68ba18 commit 3a6cb04
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion behavior/blocks/blocks.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/entities/entities.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/feature_rules/feature_rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/features/features.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/items/items.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/loot_tables/loot_tables.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/recipes/recipes.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"$id":"blockception.minecraft.behavior.recipes","examples":[{"format_version":"1.12.0","minecraft:recipe_shaped":{"description":{"identifier":"minecraft:item"},"tags":["crafting_table"],"pattern":[],"key":{},"result":{"item":"minecraft:boat","data":4}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.12"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.12.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/J"}}}],"definitions":{"C":{"description":"Recipe definition 1.12.0","title":"Definition","type":"object","properties":{"identifier":{"type":"string","pattern":"[a-z0-9_:\\-]+","title":"Recipe Identifier","description":"TODO description"}},"additionalProperties":false},"D":{"description":"Recipe tags 1.12.0","title":"Tags","type":"array","items":{"type":"string","title":"Tag"}},"B":{"description":"Represents a furnace recipe for a furnace.'Input` items will burn and transform into items specified in `output`..","title":"Furnace Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Items used as input for the furnace recipe.","title":"Input"},"output":{"type":"string","description":"Items used as output for the furnace recipe.","title":"Output"}}},"E":{"description":"Represents a Potion Brewing Container Recipe..","title":"Brewing Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Input potion used on the brewing stand.","title":"Input"},"output":{"type":"string","description":"Output potion from mixing the input potion with the reagent on the brewing stand.","title":"Output"},"reagent":{"type":"string","description":"Item used to mix with the input potion.","title":"Reagent"}}},"F":{"description":"Represents a Potion Brewing Container Recipe..","title":"Brewing Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Input potion used on the brewing stand.","title":"Input"},"output":{"type":"string","description":"Output potion from mixing the input potion with the reagent on the brewing stand.","title":"Output"},"reagent":{"type":"string","description":"Item used to mix with the input potion.","title":"Reagent"}}},"H":{"description":"Recipe item 1.12.0","title":"Item","oneOf":[{"type":"string","title":"Item Identifier"},{"additionalProperties":false,"type":"object","required":["item"],"properties":{"item":{"type":"string","title":"Item Identifier"},"data":{"type":"integer","minimum":0,"title":"Item Data Value"},"count":{"type":"integer","minimum":1,"default":1,"title":"Count"}}}]},"G":{"description":"Represents a shaped crafting recipe for a crafting table. The key used in the pattern may be any single character except the `space` character, which is reserved for empty slots in a recipe..","title":"Shaped Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"key":{"type":"object","description":"Patten key character mapped to item names.","title":"Key","minProperties":1,"additionalProperties":{"$ref":"#/definitions/H"}},"group":{"type":"string","title":"UNDOCUMENTATED","description":"UNDOCUMENTATED"},"pattern":{"type":"array","description":"Characters that represent a pattern to be defined by keys.","title":"Pattern","maxItems":3,"minItems":1,"items":{"type":"string","title":"Pattern"}},"priority":{"type":"integer","description":"Item used as output for the furnace recipe.","title":"Priority"},"result":{"description":"When input items match the pattern then these items are the result.","title":"Result","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]}}},"I":{"description":"Represents a shapeless crafting recipe..","title":"Shapeless Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"ingredients":{"description":"Items used as input (without a shape) for the recipe.","title":"Ingredients","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]},"group":{"type":"string","title":"UNDOCUMENTATED","description":"UNDOCUMENTATED"},"priority":{"type":"integer","description":"Item used as output for the furnace recipe.","title":"Priority"},"result":{"description":"When input items match the pattern then these items are the result.","title":"Result","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]}}},"A":{"description":"Minecraft recipe 1.12.0","required":["format_version"],"additionalProperties":false,"minProperties":2,"title":"Recipe","properties":{"format_version":{"type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file.","title":"Format Version"},"minecraft:recipe_furnace":{"$ref":"#/definitions/B"},"minecraft:recipe_brewing_container":{"$ref":"#/definitions/E"},"minecraft:recipe_brewing_mix":{"$ref":"#/definitions/F"},"minecraft:recipe_shaped":{"$ref":"#/definitions/G"},"minecraft:recipe_shapeless":{"$ref":"#/definitions/I"}}},"J":{"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.recipes","examples":[{"format_version":"1.12.0","minecraft:recipe_shaped":{"description":{"identifier":"minecraft:item"},"tags":["crafting_table"],"pattern":[],"key":{},"result":{"item":"minecraft:boat","data":4}}}],"allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.12"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.12.0"}}},"then":{"$ref":"#/definitions/A"}},{"properties":{"format_version":{"$ref":"#/definitions/J"}}}],"definitions":{"C":{"description":"Recipe definition 1.12.0","title":"Definition","type":"object","properties":{"identifier":{"type":"string","pattern":"[a-z0-9_:\\-]+","title":"Recipe Identifier","description":"UNDOCUMENTATED"}},"additionalProperties":false},"D":{"description":"Recipe tags 1.12.0","title":"Tags","type":"array","items":{"type":"string","title":"Tag"}},"B":{"description":"Represents a furnace recipe for a furnace.'Input` items will burn and transform into items specified in `output`..","title":"Furnace Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Items used as input for the furnace recipe.","title":"Input"},"output":{"type":"string","description":"Items used as output for the furnace recipe.","title":"Output"}}},"E":{"description":"Represents a Potion Brewing Container Recipe..","title":"Brewing Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Input potion used on the brewing stand.","title":"Input"},"output":{"type":"string","description":"Output potion from mixing the input potion with the reagent on the brewing stand.","title":"Output"},"reagent":{"type":"string","description":"Item used to mix with the input potion.","title":"Reagent"}}},"F":{"description":"Represents a Potion Brewing Container Recipe..","title":"Brewing Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"input":{"type":"string","description":"Input potion used on the brewing stand.","title":"Input"},"output":{"type":"string","description":"Output potion from mixing the input potion with the reagent on the brewing stand.","title":"Output"},"reagent":{"type":"string","description":"Item used to mix with the input potion.","title":"Reagent"}}},"H":{"description":"Recipe item 1.12.0","title":"Item","oneOf":[{"type":"string","title":"Item Identifier"},{"additionalProperties":false,"type":"object","required":["item"],"properties":{"item":{"type":"string","title":"Item Identifier"},"data":{"type":"integer","minimum":0,"title":"Item Data Value"},"count":{"type":"integer","minimum":1,"default":1,"title":"Count"}}}]},"G":{"description":"Represents a shaped crafting recipe for a crafting table. The key used in the pattern may be any single character except the `space` character, which is reserved for empty slots in a recipe..","title":"Shaped Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"key":{"type":"object","description":"Patten key character mapped to item names.","title":"Key","minProperties":1,"additionalProperties":{"$ref":"#/definitions/H"}},"group":{"type":"string","title":"UNDOCUMENTATED","description":"UNDOCUMENTATED"},"pattern":{"type":"array","description":"Characters that represent a pattern to be defined by keys.","title":"Pattern","maxItems":3,"minItems":1,"items":{"type":"string","title":"Pattern"}},"priority":{"type":"integer","description":"Item used as output for the furnace recipe.","title":"Priority"},"result":{"description":"When input items match the pattern then these items are the result.","title":"Result","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]}}},"I":{"description":"Represents a shapeless crafting recipe..","title":"Shapeless Recipe 1.12.0","additionalProperties":false,"required":["description"],"type":"object","properties":{"description":{"$ref":"#/definitions/C"},"tags":{"$ref":"#/definitions/D"},"ingredients":{"description":"Items used as input (without a shape) for the recipe.","title":"Ingredients","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]},"group":{"type":"string","title":"UNDOCUMENTATED","description":"UNDOCUMENTATED"},"priority":{"type":"integer","description":"Item used as output for the furnace recipe.","title":"Priority"},"result":{"description":"When input items match the pattern then these items are the result.","title":"Result","oneOf":[{"$ref":"#/definitions/H"},{"type":"array","items":{"$ref":"#/definitions/H"}}]}}},"A":{"description":"Minecraft recipe 1.12.0","required":["format_version"],"additionalProperties":false,"minProperties":2,"title":"Recipe","properties":{"format_version":{"type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file.","title":"Format Version"},"minecraft:recipe_furnace":{"$ref":"#/definitions/B"},"minecraft:recipe_brewing_container":{"$ref":"#/definitions/E"},"minecraft:recipe_brewing_mix":{"$ref":"#/definitions/F"},"minecraft:recipe_shaped":{"$ref":"#/definitions/G"},"minecraft:recipe_shapeless":{"$ref":"#/definitions/I"}}},"J":{"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 changes: 1 addition & 1 deletion behavior/spawn_rules/spawn_rules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/trading/trading.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion behavior/volumes/volumes.json
Original file line number Diff line number Diff line change
@@ -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":"Entity Identifier 1.8.0","description":"The minecraft entity volume","examples":["namespace:volume"],"pattern":"^[0-9a-zA-Z:_\\.\\-]+$"},"A":{"type":"object","title":"Spawn Rules 1.17.0","description":"TODO","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":"TODO Title"},"minecraft:volume":{"type":"object","title":"Spawn Rules","description":"TODO","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":"TODO","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":"Entity Identifier 1.8.0","description":"The minecraft entity volume","examples":["namespace:volume"],"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":"TODO Title"},"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"}}}
Loading

0 comments on commit 3a6cb04

Please sign in to comment.