Fixing recipes
This commit is contained in:
@@ -1,21 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.recipes",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.20.41",
|
||||
"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": "./1.12.0/recipes.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/recipes.json" } },
|
||||
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
|
||||
]
|
||||
"$id": "blockception.minecraft.behavior.1.12.0.recipe",
|
||||
"description": "Minecraft recipe",
|
||||
"required": ["format_version"],
|
||||
"additionalProperties": false,
|
||||
"minProperties": 2,
|
||||
"type": "object",
|
||||
"title": "Recipe",
|
||||
"descreiption": "A recipe is a set of ingredients and a result that can be crafted using a crafting table, furnace, brewing stand, or stonecutter.",
|
||||
"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": "./types/furnace.json" },
|
||||
"minecraft:recipe_brewing_container": { "$ref": "./types/recipe_brewing_container.json" },
|
||||
"minecraft:recipe_brewing_mix": { "$ref": "./types/recipe_brewing_mix.json" },
|
||||
"minecraft:recipe_shaped": { "$ref": "./types/recipe_shaped.json" },
|
||||
"minecraft:recipe_shapeless": { "$ref": "./types/recipe_shapeless.json" },
|
||||
"minecraft:recipe_smithing_transform": { "$ref": "./types/recipe_smithing_transform.json" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user