Skip to content

[WIP] Fix 'minecraft:tags' to use an array instead of an object#554

Closed
DaanV2 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-minecraft-tags-array-issue
Closed

[WIP] Fix 'minecraft:tags' to use an array instead of an object#554
DaanV2 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-minecraft-tags-array-issue

Conversation

Copilot AI commented May 12, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>"minecraft:tags" requires an array, not object</issue_title>
<issue_description>Describe the bug
In the new breaking change to tags in 26.20, the game expects an array of tags, not an object with an array inside of it.
"minecraft:tags": ["minecraft:is_pickaxe_item_destructible", "custom:your_tag_here"]

Image

Using an object instead of an array in this instance yields the content error [Blocks][error]-block_definitions | C:/Users/user/AppData/Roaming/Minecraft Bedrock/Users/Shared/games/com.mojang/development_behavior_packs/test_bp | blocks/block.b.json | -> components -> minecraft:tags: expected an array

Notes
Contrary to what the release notes say, block tags which didn't require a namespace before still don't require a namespace (e.g. things like dirt or one_way_collidable)
</issue_description>

<agent_instructions>reference: https://www.minecraft.net/en-us/article/minecraft--bedrock-edition-26-20-changelog</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"minecraft:tags" requires an array, not object

2 participants