fix(addons): populate recipe unlock with crafting_table ingredient
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
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>
This commit is contained in:
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_basket_recipe"
|
"identifier": "silverlabs:dragon_basket_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg"
|
"identifier": "silverlabs:dragon_egg"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_crimson_recipe"
|
"identifier": "silverlabs:dragon_egg_crimson_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_jungle_recipe"
|
"identifier": "silverlabs:dragon_egg_jungle_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_oak_recipe"
|
"identifier": "silverlabs:dragon_egg_oak_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_obsidian_recipe"
|
"identifier": "silverlabs:dragon_egg_obsidian_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_spruce_recipe"
|
"identifier": "silverlabs:dragon_egg_spruce_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_egg_warped_recipe"
|
"identifier": "silverlabs:dragon_egg_warped_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_crimson_recipe"
|
"identifier": "silverlabs:dragon_nest_crimson_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_jungle_recipe"
|
"identifier": "silverlabs:dragon_nest_jungle_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_oak_recipe"
|
"identifier": "silverlabs:dragon_nest_oak_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_obsidian_recipe"
|
"identifier": "silverlabs:dragon_nest_obsidian_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_spruce_recipe"
|
"identifier": "silverlabs:dragon_nest_spruce_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_nest_warped_recipe"
|
"identifier": "silverlabs:dragon_nest_warped_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:dragon_toy"
|
"identifier": "silverlabs:dragon_toy"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"pattern": [
|
"pattern": [
|
||||||
"T T",
|
"T T",
|
||||||
"TWWWT"
|
"TWWWT"
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"pattern": [
|
"pattern": [
|
||||||
" W ",
|
" W ",
|
||||||
"WWW",
|
"WWW",
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"ingredients": [
|
"ingredients": [
|
||||||
{
|
{
|
||||||
"item": "minecraft:oak_sign"
|
"item": "minecraft:oak_sign"
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:portal_frame_recipe"
|
"identifier": "silverlabs:portal_frame_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:portal_jamie_recipe"
|
"identifier": "silverlabs:portal_jamie_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:portal_lyla_recipe"
|
"identifier": "silverlabs:portal_lyla_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -4,7 +4,11 @@
|
|||||||
"description": {
|
"description": {
|
||||||
"identifier": "silverlabs:portal_mya_recipe"
|
"identifier": "silverlabs:portal_mya_recipe"
|
||||||
},
|
},
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"ingredients": [
|
"ingredients": [
|
||||||
{
|
{
|
||||||
"item": "minecraft:chest"
|
"item": "minecraft:chest"
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"pattern": [
|
"pattern": [
|
||||||
"III",
|
"III",
|
||||||
"PCP",
|
"PCP",
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"ingredients": [
|
"ingredients": [
|
||||||
{
|
{
|
||||||
"item": "minecraft:chest"
|
"item": "minecraft:chest"
|
||||||
|
|||||||
@@ -7,7 +7,11 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
"crafting_table"
|
"crafting_table"
|
||||||
],
|
],
|
||||||
"unlock": [],
|
"unlock": [
|
||||||
|
{
|
||||||
|
"item": "minecraft:crafting_table"
|
||||||
|
}
|
||||||
|
],
|
||||||
"ingredients": [
|
"ingredients": [
|
||||||
{
|
{
|
||||||
"item": "minecraft:crafting_table"
|
"item": "minecraft:crafting_table"
|
||||||
|
|||||||
Reference in New Issue
Block a user