-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
221 additions
and
193 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
} | ||
} |
32 changes: 16 additions & 16 deletions
32
...s/1.12.0/types/base types/definition.json → .../recipes/types/base types/definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.definition", | ||
"description": "Recipe definition 1.12.0", | ||
"title": "Definition", | ||
"type": "object", | ||
"properties": { | ||
"identifier": { | ||
"type": "string", | ||
"pattern": "[a-z0-9_:\\-]+", | ||
"title": "Recipe Identifier", | ||
"description": "UNDOCUMENTED.", | ||
"$comment": "UNDOCUMENTED" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.definition", | ||
"description": "Recipe definition 1.12.0", | ||
"title": "Definition", | ||
"type": "object", | ||
"properties": { | ||
"identifier": { | ||
"type": "string", | ||
"pattern": "[a-z0-9_:\\-]+", | ||
"title": "Recipe Identifier", | ||
"description": "UNDOCUMENTED.", | ||
"$comment": "UNDOCUMENTED" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
36 changes: 18 additions & 18 deletions
36
...recipes/1.12.0/types/base types/item.json → ...havior/recipes/types/base types/item.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.item", | ||
"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" } | ||
} | ||
} | ||
] | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.item", | ||
"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" } | ||
} | ||
} | ||
] | ||
} |
14 changes: 7 additions & 7 deletions
14
...recipes/1.12.0/types/base types/tags.json → ...havior/recipes/types/base types/tags.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.tags", | ||
"description": "Recipe tags 1.12.0", | ||
"title": "Tags", | ||
"type": "array", | ||
"items": { "type": "string", "title": "Tag", "examples": ["smithing_table", "deprecated"] } | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.tags", | ||
"description": "Recipe tags 1.12.0", | ||
"title": "Tags", | ||
"type": "array", | ||
"items": { "type": "string", "title": "Tag", "examples": ["smithing_table", "deprecated"] } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"title": "Item", | ||
"$id": "blockception.minecraft.behavior.recipe.unlock", | ||
"description": "Unlock achievement", | ||
"type": "object", | ||
"required": ["context"], | ||
"oneOf": [ | ||
{ | ||
"properties": { | ||
"context": { | ||
"type": "string", | ||
"title": "Context", | ||
"description": "The context of the achievement to unlock" | ||
} | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"item": { | ||
"type": "string", | ||
"title": "Item", | ||
"examples": ["minecraft:stick"], | ||
"description": "The item to unlock" | ||
}, | ||
"data": { | ||
"type": "integer", | ||
"title": "Data", | ||
"description": "The data of the item to unlock" | ||
} | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"tag": { | ||
"type": "string", | ||
"title": "Item Tag", | ||
"description": "The item to unlock", | ||
"examples": ["minecraft:planks", "minecraft:wooden_slabs"] | ||
} | ||
} | ||
} | ||
] | ||
} |
28 changes: 14 additions & 14 deletions
28
...ehavior/recipes/1.12.0/types/furnace.json → source/behavior/recipes/types/furnace.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.furnace", | ||
"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": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"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" } | ||
} | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.furnace", | ||
"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": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"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" } | ||
} | ||
} |
39 changes: 20 additions & 19 deletions
39
....12.0/types/recipe_brewing_container.json → ...cipes/types/recipe_brewing_container.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.brewing.container", | ||
"description": "Represents a Potion Brewing Container Recipe..", | ||
"title": "Brewing Recipe 1.12.0", | ||
"additionalProperties": false, | ||
"required": ["description"], | ||
"type": "object", | ||
"properties": { | ||
"description": { "$ref": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"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" } | ||
} | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.brewing.container", | ||
"description": "Represents a Potion Brewing Container Recipe..", | ||
"title": "Brewing Recipe 1.12.0", | ||
"additionalProperties": false, | ||
"required": ["description"], | ||
"type": "object", | ||
"properties": { | ||
"description": { "$ref": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"unlock": { "$ref": "./base types/unlock.json" }, | ||
"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" } | ||
} | ||
} |
39 changes: 20 additions & 19 deletions
39
...ipes/1.12.0/types/recipe_brewing_mix.json → ...ior/recipes/types/recipe_brewing_mix.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.brewing.mix", | ||
"description": "Represents a Potion Brewing Container Recipe..", | ||
"title": "Brewing Recipe 1.12.0", | ||
"additionalProperties": false, | ||
"required": ["description"], | ||
"type": "object", | ||
"properties": { | ||
"description": { "$ref": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"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" } | ||
} | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.brewing.mix", | ||
"description": "Represents a Potion Brewing Container Recipe..", | ||
"title": "Brewing Recipe 1.12.0", | ||
"additionalProperties": false, | ||
"required": ["description"], | ||
"type": "object", | ||
"properties": { | ||
"description": { "$ref": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"unlock": { "$ref": "./base types/unlock.json" }, | ||
"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" } | ||
} | ||
} |
69 changes: 35 additions & 34 deletions
69
...r/recipes/1.12.0/types/recipe_shaped.json → ...behavior/recipes/types/recipe_shaped.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.shaped", | ||
"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": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"key": { | ||
"type": "object", | ||
"description": "Patten key character mapped to item names.", | ||
"title": "Key", | ||
"minProperties": 1, | ||
"additionalProperties": { "$ref": "./base types/item.json" } | ||
}, | ||
"group": { "type": "string", "title": "Group", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" }, | ||
"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": "./base types/item.json" }, { "type": "array", "items": { "$ref": "./base types/item.json" } }] | ||
} | ||
} | ||
} | ||
{ | ||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.shaped", | ||
"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": "./base types/definition.json" }, | ||
"tags": { "$ref": "./base types/tags.json" }, | ||
"unlock": { "$ref": "./base types/unlock.json" }, | ||
"key": { | ||
"type": "object", | ||
"description": "Patten key character mapped to item names.", | ||
"title": "Key", | ||
"minProperties": 1, | ||
"additionalProperties": { "$ref": "./base types/item.json" } | ||
}, | ||
"group": { "type": "string", "title": "Group", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" }, | ||
"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": "./base types/item.json" }, { "type": "array", "items": { "$ref": "./base types/item.json" } }] | ||
} | ||
} | ||
} |
Oops, something went wrong.