Bedrock File Sync Extension
Sync Minecraft Bedrock behavior and resource packs directly from VS Code.
This extension was built for fast Bedrock add-on iteration. It lets you pick your local BP and RP source folders, save that setup per workspace, and deploy the project into the default Minecraft Bedrock development folders with a couple of clicks.
Features
- Full deploy for both Behavior Pack and Resource Pack
- Automatic project name based on the open folder or workspace name
- Workspace-scoped config saved automatically
- TypeScript support with compile-before-deploy
- AutoReload support through a local WebSocket server
- Incremental
reload flow for faster script updates
Default Output Folders
The extension deploys to the standard Minecraft Bedrock development folders:
- Behavior Packs:
C:\Users\<your-user>\AppData\Roaming\Minecraft Bedrock\Users\Shared\games\com.mojang\development_behavior_packs
- Resource Packs:
C:\Users\<your-user>\AppData\Roaming\Minecraft Bedrock\Users\Shared\games\com.mojang\development_resource_packs
These paths are resolved automatically by the extension. You only choose the project source folders.
How It Works
Deploy
Deploy performs a full sync:
- Compiles the project first if
TypeScript project is enabled
- Copies the selected BP folder to
<project-name>_bp
- Copies the selected RP folder to
<project-name>_rp
Deploy With Reload
Deploy with reload is optimized for script iteration:
- Compiles the project first if
TypeScript project is enabled
- Replaces only the
scripts folder inside the deployed Behavior Pack
- Keeps the rest of the deployed BP untouched
- Does not redeploy the Resource Pack
- Sends
/reload through AutoReload
This is meant for fast logic updates while you are working on scripts.
Deploy With Reload All
Deploy with reload all performs a full deploy and then sends /reload all.
AutoReload
When AutoReload is enabled, the extension starts a WebSocket server on localhost:8080.
Use the command below in Minecraft Bedrock to connect:
/wsserver localhost:8080
After the game is connected, you can use:
Deploy with reload
Deploy with reload all
TypeScript Projects
If the workspace is marked as a TypeScript project, the extension looks for a tsconfig.json and runs a TypeScript build before deploying.
If compilation fails, the deploy is stopped and the error is shown in VS Code.
Configuration
The extension stores its settings in the current workspace. The main values saved are:
projectFolder1 for the Behavior Pack source folder
projectFolder2 for the Resource Pack source folder
isTypescriptProject to enable compile-before-deploy
Changes are saved automatically.
Usage
- Open your Bedrock project folder or workspace in VS Code.
- Open the
Bedrock Sync view in the activity bar.
- Select the BP and RP source folders.
- Enable
TypeScript project if your BP scripts are built with TypeScript.
- Use
Deploy, Deploy with reload, or Deploy with reload all.
Notes
Deploy with reload expects the target BP to already exist in the Bedrock development folder. Run a full deploy once before using it.
- The project name is taken from the current workspace or folder name.
- The extension uses the default Bedrock development paths on Windows.