Update example recipe tags, make tags required and add support for extent and distribution in feature rules (#300)
* - Update example recipe tags * - Make tags required * - Add support for extent and distribution
This commit is contained in:
@@ -34,6 +34,28 @@
|
||||
"minimum": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"distribution": {
|
||||
"title": "Distribution",
|
||||
"description": "Distribution type",
|
||||
"type": "string",
|
||||
"enum": ["uniform", "fixed_grid", "jittered_grid", "gaussian", "inverse_gaussian", "triangle"]
|
||||
},
|
||||
"extent": {
|
||||
"title": "Extent",
|
||||
"description": "Represents the range of values on which that distribution operates, from minimum to maximum.",
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.tags",
|
||||
"description": "Recipe tags 1.12.0",
|
||||
"$id": "blockception.minecraft.behavior.recipe.tags",
|
||||
"description": "Recipe Tags",
|
||||
"title": "Tags",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "title": "Tag", "examples": ["smithing_table", "deprecated"] }
|
||||
}
|
||||
"items": { "type": "string", "title": "Tag", "examples": [
|
||||
"crafting_table", "furnace", "smoker", "blast_furnace", "campfire", "soul_campfire", "brewing_stand", "smithing_table", "deprecated"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.12.0.recipe.shaped",
|
||||
"$id": "blockception.minecraft.behavior.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",
|
||||
"title": "Shaped Recipe",
|
||||
"additionalProperties": false,
|
||||
"required": ["description"],
|
||||
"required": ["description", "tags"],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": { "$ref": "./base types/definition.json" },
|
||||
|
||||
Reference in New Issue
Block a user