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:
co-authored by
Claude Opus 5
parent
db8931784e
commit
1e82825f8f
@@ -16,6 +16,7 @@
|
|||||||
"explosion_resistance": 20.0
|
"explosion_resistance": 20.0
|
||||||
},
|
},
|
||||||
"minecraft:map_color": "#1A4C8C",
|
"minecraft:map_color": "#1A4C8C",
|
||||||
|
"minecraft:geometry": "minecraft:geometry.full_block",
|
||||||
"minecraft:material_instances": {
|
"minecraft:material_instances": {
|
||||||
"*": {
|
"*": {
|
||||||
"texture": "redstone_link_rx",
|
"texture": "redstone_link_rx",
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
"explosion_resistance": 20.0
|
"explosion_resistance": 20.0
|
||||||
},
|
},
|
||||||
"minecraft:map_color": "#8C1A1A",
|
"minecraft:map_color": "#8C1A1A",
|
||||||
|
"minecraft:geometry": "minecraft:geometry.full_block",
|
||||||
"minecraft:material_instances": {
|
"minecraft:material_instances": {
|
||||||
"*": {
|
"*": {
|
||||||
"texture": "redstone_link_tx",
|
"texture": "redstone_link_tx",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"version": [
|
"version": [
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0
|
1
|
||||||
],
|
],
|
||||||
"min_engine_version": [
|
"min_engine_version": [
|
||||||
1,
|
1,
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
"version": [
|
"version": [
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0
|
1
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
"version": [
|
"version": [
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0
|
1
|
||||||
],
|
],
|
||||||
"entry": "scripts/main.js"
|
"entry": "scripts/main.js"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user