Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update recipes to add unlocking to furnace and fix #226 #249

Merged
merged 2 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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" }
}
}
Loading