mojira.dev
BDS-22866

Dedicated server fails to load blocks with format_version ≥ 1.21.90 when using new custom component syntax from Scripting API v2

Version:
Bedrock Dedicated Server (tested on 1.21.101 and above)

Platform:
Ubuntu 24.04

Steps to Reproduce:

  1. Create a behavior pack.

  2. Add a custom block definition with format_version set to 1.21.90 or higher.

  3. Add a custom component inside "components" using the new declaration format, for example:

    "namespace:my_component": {}

    The error occurs whether the custom component has internal values declared or not.

  4. Start the Bedrock Dedicated Server and load the behavior pack.

Observed Result:
The server fails to load the block and logs the following error:

[ERROR] [Blocks] block_definitions | (behavior pack path) | blocks/custom.block.json | Unexpected version for the loaded data

Expected Result:
The block should parse correctly, and the server should load the behavior pack without errors, as custom components with the new syntax should be supported with the corresponding format_version.

Additional Information:

  • The old format works correctly with format_version below 1.21.90.

  • The issue prevents testing custom blocks using the new Scripting API v2 component system on dedicated servers.

Comments 1

Hi!
Thank you for your report! 

However, this issue has been temporarily closed as Awaiting Response.

  • Could you upload an example Behavior Pack?

This ticket will automatically reopen when you reply. Thanks!

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki 

Fernando López

(Unassigned)

Unconfirmed

Retrieved