fix(postal): remove invalid minecraft:icon block component
All checks were successful
Deploy Addons / deploy (push) Successful in 52s
All checks were successful
Deploy Addons / deploy (push) Successful in 52s
Bedrock 1.21+ rejects minecraft:icon as a *block* component (it's an *item* component), failing block registration with "child 'minecraft:icon' not valid here". The post_office and mailbox blocks never registered, so their recipes failed (silverlabs:post_office / silverlabs:mailbox missing) and the items didn't appear in the in-game inventory despite the addon being marked active in the world settings. Reverts the additions made inf126eebto those two block JSONs only; the rest of the multi-mailbox script logic from that commit is unchanged. Inventory icons now fall back to the material_instances texture (same visual as beforef126eeb). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,8 +21,7 @@
|
|||||||
"texture": "mailbox",
|
"texture": "mailbox",
|
||||||
"render_method": "opaque"
|
"render_method": "opaque"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"minecraft:icon": "mailbox_icon"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,8 +21,7 @@
|
|||||||
"texture": "post_office",
|
"texture": "post_office",
|
||||||
"render_method": "opaque"
|
"render_method": "opaque"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"minecraft:icon": "post_office_icon"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user