fix(redstone-link): add minecraft:geometry so material_instances applies

The blocks rendered as an untextured default. Root cause: with no
minecraft:geometry component, Bedrock renders the block through the legacy
blocks.json texture path instead of material_instances. blocks.json here
only sets "sound", with no "textures", so the client substituted a default.

This produces no error in the content log -- both paths are valid, they just
resolve differently -- which is why the pack looked correct everywhere:
files installed byte-perfect, pack activated, terrain_texture.json valid,
and a clean world with only this addon still showed the wrong texture.

Adding "minecraft:geometry": "minecraft:geometry.full_block" fixes it,
verified in-game.

BP bumped to 1.0.1 so clients cannot reuse the cached copy. The lobby world
pin is updated to match; a mismatch silently drops the pack from the stack.

Note: 7 of the repo's other custom blocks have the same defect -- home_sign,
smart_crafting_table, tent_canvas, and all four lobby portal blocks. Most
blocks here DO set geometry, so those seven look like oversights rather than
intent. Not fixed in this commit; they touch every live world.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Gf1kZypRDfPL1YiWUS1LC
This commit is contained in:
sysadmin
2026-08-28 12:22:22 +01:00
co-authored by Claude Opus 5
parent db8931784e
commit 1e82825f8f
3 changed files with 5 additions and 3 deletions
@@ -16,6 +16,7 @@
"explosion_resistance": 20.0
},
"minecraft:map_color": "#1A4C8C",
"minecraft:geometry": "minecraft:geometry.full_block",
"minecraft:material_instances": {
"*": {
"texture": "redstone_link_rx",
@@ -16,6 +16,7 @@
"explosion_resistance": 20.0
},
"minecraft:map_color": "#8C1A1A",
"minecraft:geometry": "minecraft:geometry.full_block",
"minecraft:material_instances": {
"*": {
"texture": "redstone_link_tx",
@@ -7,7 +7,7 @@
"version": [
1,
0,
0
1
],
"min_engine_version": [
1,
@@ -22,7 +22,7 @@
"version": [
1,
0,
0
1
]
},
{
@@ -32,7 +32,7 @@
"version": [
1,
0,
0
1
],
"entry": "scripts/main.js"
}