A VSCode Workspace dedicated for developing Minecraft Bedrock projects using JavaScript or TypeScript.
Each new project includes:
- behavior_pack/: Entities, Compiled scripts, etc.
- resource_pack/: Textures, text, sounds, etc.
- tscripts/: JavaScript or TypeScript code.
TypeScript files inside tscripts/ are compiled direct into behavior_pack/scripts/. So make sure to code inside of it instead of the original scripts/ folder.
workspace/
├── .vscode/ # Workspace configs (tasks / settings)
│ └── ...
├── backups/ # Own projects generated backups
├── libraries/ # Shared libraries (not implemented yet)
├── projects/ # Individual projects
│ ├── template/ # Base template for new projects
│ └── your_project/ # User projects
│ ├── behavior_pack/
│ ├── resource_pack/
│ ├── tscripts/
│ └── tsconfig.json # TypeScript configs
├── .gitgnore
├── .prettierc.json # Prettier configs
├── eslint.config.mjs # ESlint configs
├── just.config.ts # Task configs
├── package.json # Dependencies and scripts
├── README.md # Hi!
└── tsconfig.json # Main TypeScript configs
The projects/template project is the main project it gets cloned every time you start a new project, so beware of that before editing it. Besides that, Feel free to edit it according to your needs.
To Run any task, open the VSCode Command Palette ctrl+shift+P or simply press F1, after that type Tasks: Run Task and run it. Then you will be able to see every task listed with it description.
New Project: Create new project from templateClone Project: Clone existing project with new UUIDs and nameDelete Project: Delete project from workspace (with confirmation)Rename Project: Rename project directory and update manifestsOpen Project: Open project directory in VSCodeList Development Projects: Import Development ProjectsImport Development Projects: Import projects from Minecraft foldersUpdate Bedrock-Workspace: Update bedrock-workspace from the newest github version
TypeScript Compile: Compile TypeScript files to JavaScriptWatch: Watch files and auto-deploy changes
Local Deploy: Deploy project to local Minecraft installationClean All: Remove compiled and project files from Minecraft directoriesCreate McAddon: Build and package project as .mcaddon fileClean Local: Remove compiled scripts from projectClean Collateral: Remove project files from Minecraft directoriesCopy Artifacts: Deploy project files to Minecraft directories
Analyze Project: Analyze project statistics and structureBackup Project: Create compressed backup of current projectUpdate Version: Update project version in manifestsGenerate UUIDs: Generate new UUIDs for project manifestsDebug: Show current project information and debug details
Open Workspace: Open workspace root in VS CodeUpdate Workspace: Update workspace configurations from templateList Projects: List all available projects in the current workspace
Open Minecraft Folder: Open Minecraft development foldersList Development Projects: List all projects deployed to Minecraft folders
- Install:
npm init @ackinari/bedrock-workspace # It can take some minutes - Create a new project:
F1 > Tasks: Run Task > New Project
- Deploy into com.mojang:
F1 > Tasks: Run Task > Local Deploy
The project was made with the help of ClaudeAI Sonnet 4.5.
Functions were token from @minecraft/core-build-tasks and modified to work with this workspace system.
Feel free to use and modify it however you want.