- Fix recipe unlocking (#234)
This commit is contained in:
@@ -1,22 +1,10 @@
|
|||||||
{
|
{
|
||||||
"title": "Item",
|
"title": "Unlock",
|
||||||
"$id": "blockception.minecraft.behavior.recipe.unlock",
|
"$id": "blockception.minecraft.behavior.recipe.unlock",
|
||||||
"description": "Unlock achievement",
|
"description": "Unlock achievement",
|
||||||
"type": "object",
|
|
||||||
"required": ["context"],
|
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"item": {
|
"item": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
|
||||||
"required": ["context"],
|
|
||||||
"properties": {
|
|
||||||
"context": {
|
|
||||||
"type": "string",
|
|
||||||
"title": "Context",
|
|
||||||
"description": "The context of the achievement to unlock"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"required": ["item"],
|
"required": ["item"],
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -50,7 +38,14 @@
|
|||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"$ref": "#/definitions/item"
|
"required": ["context"],
|
||||||
|
"properties": {
|
||||||
|
"context": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Context",
|
||||||
|
"description": "The context of the achievement to unlock"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -59,4 +54,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user