mojira.dev
BDS-23107

Behavior packs in the system_behavior_packs folder cannot override vanilla player.json

On Bedrock Dedicated Server, a behavior pack placed in the server's system_behavior_packs folder does not correctly override vanilla entity files.

For example, my behavior pack contains a modified player.json that changes the player's health component. The pack is enabled for the world and is loaded by the server. Other parts of the same pack, including JavaScript scripts and custom items, work correctly. However, the changes made in player.json are not applied, and the player keeps the vanilla health value.

If I place the exact same behavior pack in the development_behavior_packs folder, the modified player.json works correctly and the player's health is changed as expected.

This appears to be a pack loading or priority issue. Behavior packs from the system_behavior_packs folder may be loaded before the built-in vanilla behavior packs, causing the vanilla player.json to override the server behavior pack.

Steps to reproduce:
Note: Every time i edited “player.json” file i recreated world!

  1. Create a behavior pack containing a player.json file that changes the player's health.

  2. Place the pack in the system_behavior_packs folder.

  3. I do not enable the pack for the server world.(system_behavior_packs does not need this)

  4. Start Bedrock Dedicated Server and join the world.

  5. Observe that the player's health remains unchanged.

  6. Move the exact same pack to development_behavior_packs and start the world again.

  7. Observe that the player's health change is now applied.

Expected result:
An enabled behavior pack from the system_behavior_packs folder should override the relevant vanilla entity definitions according to normal pack priority.

Actual result:
The behavior pack is loaded and its scripts and custom content work, but its player.json override is ignored. The same override works when the pack is loaded from development_behavior_packs.

Environment

I tested at the latest release of BDS(26.45)

Comments 0

No comments.

Turkmen

(Unassigned)

Unconfirmed

Retrieved