Scripting files in development mode (development_behavior_packs
and development_resource_packs
) do not run at all unless the addon is installed via the regular behavior_packs
and resource_packs
folders.
Steps to reproduce
Create a behavior pack using the development mode folder (
development_behavior_packs
)Add a scripts section in the manifest and write a small script like:
import { system, world } from '@minecraft/server'; system.runInterval(() => { world.sendMessage('Hello world!'); }, 40);
Launch the world with the development pack activated
Observe that the script does not execute at all
Now move the same packs into the regular
behavior_packs
folder (install them like a standard addon)Relaunch the world and the script works as expected
Expected result
The message
"Hello world!"
is printed in chat every 2 seconds, regardless of whether the addon is installed in dev mode or not
Actual result
Script is not run at all unless installed as a regular addon via
behavior_packs
Notes
This issue began occurring specifically with 1.21.100
The world loads, but no error messages are shown
This error critically affects addon creators - they must reinstall entire addon for every small script change to see if it works instead of just reloading the world, which significantly slows down development
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please attach an example addon showcasing the issue?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki