fix(addons): silence boot-time warnings on naturalist + dynamite
All checks were successful
Deploy Addons / deploy (push) Successful in 14s

- naturalist-lite: add stub item definitions for silverlabs_nat:frog_leg,
  cooked_frog_leg, snake_egg_block. Owl + snake behaviour files
  reference these but they were never defined, so BDS logged "Unknown
  item during Deferred ItemDescriptor resolution" on every boot. Stubs
  are functional — frog_leg restores 2 hunger, cooked 4, snake egg is
  a placeable nature-tab item. RP texture entries + lang strings added
  for completeness; icons fall back to candy-cane until art lands.
- dynamite: drop the broken spawn_aoe_cloud component on thrown_banger
  (its particle id "minecraft:explosion_manual" doesn't exist in BDS;
  every replacement I tried also failed schema validation). The
  random.fuse hit_sound + impact_damage still fire, the entity is
  destroyed on hit — just no lingering AOE puff.

Also: add *.bak.local to .gitignore so docker-compose.yml.bak.local and
similar local backup files stop showing up in git status.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 23:15:13 +01:00
parent eb82c8307b
commit 14043fe2a0
7 changed files with 61 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
{
"format_version": "1.21.0",
"minecraft:item": {
"description": {
"identifier": "silverlabs_nat:cooked_frog_leg",
"menu_category": { "category": "items", "group": "itemGroup.name.miscFood" }
},
"components": {
"minecraft:icon": "silverlabs_nat.cooked_frog_leg",
"minecraft:max_stack_size": 64,
"minecraft:food": { "nutrition": 4, "saturation_modifier": 1.2 },
"minecraft:use_animation": "eat",
"minecraft:use_modifiers": { "use_duration": 1.6, "movement_modifier": 0.35 }
}
}
}

View File

@@ -0,0 +1,16 @@
{
"format_version": "1.21.0",
"minecraft:item": {
"description": {
"identifier": "silverlabs_nat:frog_leg",
"menu_category": { "category": "items", "group": "itemGroup.name.miscFood" }
},
"components": {
"minecraft:icon": "silverlabs_nat.frog_leg",
"minecraft:max_stack_size": 64,
"minecraft:food": { "nutrition": 2, "saturation_modifier": 0.6 },
"minecraft:use_animation": "eat",
"minecraft:use_modifiers": { "use_duration": 1.6, "movement_modifier": 0.35 }
}
}
}

View File

@@ -0,0 +1,13 @@
{
"format_version": "1.21.0",
"minecraft:item": {
"description": {
"identifier": "silverlabs_nat:snake_egg_block",
"menu_category": { "category": "nature" }
},
"components": {
"minecraft:icon": "silverlabs_nat.snake_egg_block",
"minecraft:max_stack_size": 16
}
}
}