Skip to content

Commit

Permalink
Update recipes to add unlocking to furnace and fix #226 (#249)
Browse files Browse the repository at this point in the history
* - Add unlocking to furnace

* - Add tag to recipes
  • Loading branch information
Xterionix authored Mar 23, 2024
1 parent 812aa1a commit f049552
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion source/behavior/recipes/types/base types/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
"data": { "type": "integer", "minimum": 0, "title": "Item Data Value" },
"count": { "type": "integer", "minimum": 1, "default": 1, "title": "Count" }
}
},
{
"required": ["tag"],
"properties": {
"tag": {
"type": "string",
"title": "Item Tag",
"description": "The item to unlock",
"examples": ["minecraft:planks", "minecraft:wooden_slabs"]
}
}
}
]
}
}
7 changes: 4 additions & 3 deletions source/behavior/recipes/types/furnace.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"$id": "blockception.minecraft.behavior.1.12.0.recipe.furnace",
"$id": "blockception.minecraft.behavior.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",
"title": "Furnace Recipe",
"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" }
"output": { "type": "string", "description": "Items used as output for the furnace recipe.", "title": "Output" },
"unlock": { "$ref": "./base types/unlock.json" }
}
}

0 comments on commit f049552

Please sign in to comment.