fix(addons): bring silverlabs packs into schema compliance
All checks were successful
Deploy Addons / deploy (push) Successful in 14s

- recipes: add unlock { context: always_unlocked } to all spark_pet and lobby_transfer recipes (1.20+ requirement) — fixes mc-lobby crash loop
- spark_dragon entity_sensor: wrap in subsensors[] and convert sensor_range → range [a,b] per 1.21 schema
- anthrax_cat interact: wrap event/filters in on_interact to match Bedrock 1.21 interact schema
- block format_version: bump mailbox and smart_crafting_table to 1.21.60
- item icons: replace { texture: X } with shorthand string form
- heyhe_egg description: replace bare category with menu_category block

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-23 23:18:24 +01:00
parent 8b83e324f0
commit 43248820fa
25 changed files with 38 additions and 20 deletions

View File

@@ -12,9 +12,13 @@
"minecraft:interact": { "minecraft:interact": {
"interactions": [ "interactions": [
{ {
"on_interact": {
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"event": "silverlabs:interacted",
"target": "self"
},
"interact_text": "action.interact.fortune", "interact_text": "action.interact.fortune",
"play_sounds": "note.bell", "play_sounds": "note.bell"
"event": "silverlabs:interacted"
} }
] ]
} }

View File

@@ -10,9 +10,7 @@
}, },
"components": { "components": {
"minecraft:max_stack_size": 16, "minecraft:max_stack_size": 16,
"minecraft:icon": { "minecraft:icon": "anthrax_cat",
"texture": "anthrax_cat"
},
"minecraft:entity_placer": { "minecraft:entity_placer": {
"entity": "silverlabs:anthrax_cat" "entity": "silverlabs:anthrax_cat"
} }

View File

@@ -3,13 +3,11 @@
"minecraft:item": { "minecraft:item": {
"description": { "description": {
"identifier": "silverlabs:heyhe_egg", "identifier": "silverlabs:heyhe_egg",
"category": "Nature" "menu_category": { "category": "nature" }
}, },
"components": { "components": {
"minecraft:max_stack_size": 16, "minecraft:max_stack_size": 16,
"minecraft:icon": { "minecraft:icon": "heyhe_egg",
"texture": "heyhe_egg"
},
"minecraft:entity_placer": { "minecraft:entity_placer": {
"entity": "silverlabs:heyhe_egg", "entity": "silverlabs:heyhe_egg",
"dispense_on": [ "dispense_on": [

View File

@@ -190,15 +190,14 @@
"reselect_targets": true "reselect_targets": true
}, },
"minecraft:entity_sensor": { "minecraft:entity_sensor": {
"sensor_range": 500, "subsensors": [
"relative_range": false, {
"minimum_count": 1, "range": [500, 500],
"event_filters": { "minimum_count": 1,
"test": "is_family", "event": "silverlabs:whistle_called",
"subject": "other", "event_filters": { "test": "is_family", "subject": "other", "value": "whistle_signal" }
"value": "whistle_signal" }
}, ]
"event": "silverlabs:whistle_called"
}, },
"minecraft:behavior.melee_attack": { "minecraft:behavior.melee_attack": {
"priority": 2, "priority": 2,

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:dragon_basket_recipe" "identifier": "silverlabs:dragon_basket_recipe"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:dragon_egg" "identifier": "silverlabs:dragon_egg"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
" B ", " B ",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_crimson_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_crimson_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_jungle_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_jungle_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_oak_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_oak_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_obsidian_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_obsidian_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_spruce_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_spruce_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shapeless": { "minecraft:recipe_shapeless": {
"description": { "identifier": "silverlabs:dragon_egg_warped_recipe" }, "description": { "identifier": "silverlabs:dragon_egg_warped_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:dragon_egg" }, { "item": "silverlabs:dragon_egg" },

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_crimson_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_crimson_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_jungle_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_jungle_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_oak_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_oak_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_obsidian_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_obsidian_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"O O", "O O",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_spruce_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_spruce_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -2,6 +2,7 @@
"format_version": "1.21.0", "format_version": "1.21.0",
"minecraft:recipe_shaped": { "minecraft:recipe_shaped": {
"description": { "identifier": "silverlabs:dragon_nest_warped_recipe" }, "description": { "identifier": "silverlabs:dragon_nest_warped_recipe" },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
"S S", "S S",

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:dragon_toy" "identifier": "silverlabs:dragon_toy"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
" S ", " S ",

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:portal_frame_recipe" "identifier": "silverlabs:portal_frame_recipe"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"pattern": [ "pattern": [
" O ", " O ",

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:portal_jamie_recipe" "identifier": "silverlabs:portal_jamie_recipe"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:portal_frame" }, { "item": "silverlabs:portal_frame" },

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:portal_lyla_recipe" "identifier": "silverlabs:portal_lyla_recipe"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:portal_frame" }, { "item": "silverlabs:portal_frame" },

View File

@@ -4,6 +4,7 @@
"description": { "description": {
"identifier": "silverlabs:portal_mya_recipe" "identifier": "silverlabs:portal_mya_recipe"
}, },
"unlock": { "context": "always_unlocked" },
"tags": ["crafting_table"], "tags": ["crafting_table"],
"ingredients": [ "ingredients": [
{ "item": "silverlabs:portal_frame" }, { "item": "silverlabs:portal_frame" },

View File

@@ -1,5 +1,5 @@
{ {
"format_version": "1.21.0", "format_version": "1.21.60",
"minecraft:block": { "minecraft:block": {
"description": { "description": {
"identifier": "silverlabs:mailbox", "identifier": "silverlabs:mailbox",

View File

@@ -1,5 +1,5 @@
{ {
"format_version": "1.21.0", "format_version": "1.21.60",
"minecraft:block": { "minecraft:block": {
"description": { "description": {
"identifier": "silverlabs:smart_crafting_table", "identifier": "silverlabs:smart_crafting_table",