fix(addons): align BP→RP manifest deps + minecraft:geometry on placeholder blocks

Two silent failure modes hit eight addons today:

1. BP→RP dep drift. When an RP version was bumped, dependent BPs kept
   naming the old version. Bedrock loaded both packs but disconnected
   the texture pipeline, so blocks rendered as map_color cubes in the
   inventory. Aligned spark_pet, heyhe_pet, camping_supplies, dynamite,
   home_sign, postal_service, private_chest BP deps to actual RP
   versions. Bumped postal/private_chest RP versions to 1.0.1 to bust
   client RP caches.

2. Missing minecraft:geometry. Bedrock 1.21+ silently fails to render
   custom blocks in inventory unless geometry is declared — even for
   plain full cubes, no warning logged. Added
   minecraft:geometry.full_block to post_office, mailbox, and
   private_chest. Same fix already applied to sun_lamp and the wild
   cherry tree blocks in their respective addon commits.

Saved both failure modes to project memory so they're easy to recognise
next time someone sees "all my custom blocks show as solid coloured
cubes in the inventory".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 22:01:00 +01:00
parent 6bda72598d
commit 9789906277
13 changed files with 180 additions and 41 deletions

View File

@@ -16,6 +16,7 @@
"explosion_resistance": 1200.0
},
"minecraft:map_color": "#B0B0B0",
"minecraft:geometry": "minecraft:geometry.full_block",
"minecraft:material_instances": {
"*": {
"texture": "private_chest",

View File

@@ -2,22 +2,38 @@
"format_version": 2,
"header": {
"name": "Private Chests",
"description": "Owner-locked chests only the placer can open or break them",
"description": "Owner-locked chests \u2014 only the placer can open or break them",
"uuid": "9a3f8d2e-7c5b-4e1a-b9d2-1f6e3c4a8b50",
"version": [1, 0, 0],
"min_engine_version": [1, 21, 0]
"version": [
1,
0,
0
],
"min_engine_version": [
1,
21,
0
]
},
"modules": [
{
"type": "data",
"uuid": "9a3f8d2e-7c5b-4e1a-b9d2-1f6e3c4a8b51",
"version": [1, 0, 0]
"version": [
1,
0,
0
]
},
{
"type": "script",
"language": "javascript",
"uuid": "9a3f8d2e-7c5b-4e1a-b9d2-1f6e3c4a8b52",
"version": [1, 0, 0],
"version": [
1,
0,
0
],
"entry": "scripts/main.js"
}
],
@@ -28,7 +44,11 @@
},
{
"uuid": "9a3f8d2e-7c5b-4e1a-b9d2-1f6e3c4a8b53",
"version": [1, 0, 1]
"version": [
1,
0,
1
]
}
]
}