Refactor
This commit is contained in:
20
source/behavior/recipes/recipes.json
Normal file
20
source/behavior/recipes/recipes.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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": "./1.12.0/recipes.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/recipes.json" } }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user