Fixing recipes

This commit is contained in:
DaanV2
2024-01-06 23:22:39 +01:00
parent 50f8ffe05a
commit 84b19ed1d5
12 changed files with 221 additions and 193 deletions

View File

@@ -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" }
}
}