From fce15ac80100474a9cfea8579bdaa24f7a07659d Mon Sep 17 00:00:00 2001 From: SysAdmin Date: Sat, 25 Apr 2026 04:09:02 +0100 Subject: [PATCH] fix(postal): remove invalid minecraft:icon block component 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 in f126eeb to 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 before f126eeb). Co-Authored-By: Claude Opus 4.7 (1M context) --- postal-service-addon/postal_service_BP/blocks/mailbox.json | 3 +-- postal-service-addon/postal_service_BP/blocks/post_office.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/postal-service-addon/postal_service_BP/blocks/mailbox.json b/postal-service-addon/postal_service_BP/blocks/mailbox.json index 1ddc93d..4a7a3ca 100644 --- a/postal-service-addon/postal_service_BP/blocks/mailbox.json +++ b/postal-service-addon/postal_service_BP/blocks/mailbox.json @@ -21,8 +21,7 @@ "texture": "mailbox", "render_method": "opaque" } - }, - "minecraft:icon": "mailbox_icon" + } } } } diff --git a/postal-service-addon/postal_service_BP/blocks/post_office.json b/postal-service-addon/postal_service_BP/blocks/post_office.json index a80fecc..e6129aa 100644 --- a/postal-service-addon/postal_service_BP/blocks/post_office.json +++ b/postal-service-addon/postal_service_BP/blocks/post_office.json @@ -21,8 +21,7 @@ "texture": "post_office", "render_method": "opaque" } - }, - "minecraft:icon": "post_office_icon" + } } } }