Files
minecraft-aiworld/camping-supplies-addon/camping_supplies_BP/recipes/hammock.json
SysAdmin db8f37a24d
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
fix(addons): populate recipe unlock with crafting_table ingredient
Bedrock 1.26 rejects { context } variants as "malformed unlocking context"
and [] as "empty unlocking ingredient array". The unlock field must contain
at least one ingredient item; players who have that item unlock the recipe.

Using minecraft:crafting_table as the unlock ingredient makes semantic sense
(all 26 recipes already require the crafting_table tag) and effectively means
"visible once the player has any crafting table".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 23:28:17 +01:00

33 lines
536 B
JSON

{
"format_version": "1.21.0",
"minecraft:recipe_shaped": {
"description": {
"identifier": "silverlabs:hammock_recipe"
},
"tags": [
"crafting_table"
],
"unlock": [
{
"item": "minecraft:crafting_table"
}
],
"pattern": [
"T T",
"TWWWT"
],
"key": {
"W": {
"item": "minecraft:white_wool"
},
"T": {
"item": "minecraft:string"
}
},
"result": {
"item": "silverlabs:hammock",
"count": 1
}
}
}