A Visual Studio Code extension that allows you to edit Minecraft .mcstructure files as human-readable JSON format.
- Convert .mcstructure to JSON: Open Minecraft structure files as editable JSON
- Save JSON back to .mcstructure: Convert your edited JSON back to the binary structure format by pressing the save button
There are several ways to open a .mcstructure file for editing:
- Simply click on any
.mcstructurefile in the Explorer - The extension will automatically convert it to JSON and open it in the editor
- You'll see a loading message briefly, then the JSON content will appear
- Right-click on a
.mcstructurefile in the Explorer - Select "Open MCStructure as JSON" from the context menu
- The file will be converted and opened as JSON
- Open the Command Palette (
Ctrl+Shift+P) - Type and select "MCStructure: Open MCStructure as JSON"
- Choose your
.mcstructurefile from the file dialog
To save your edited JSON back to the original .mcstructure format:
- Click the "Save as MCStructure" button in the editor title bar (looks like a save icon)
- Or use the Command Palette (
Ctrl+Shift+P) and select "MCStructure: Save as MCStructure"
- Visual Studio Code version 1.22.0 or higher
- Node.js (for development)
npm i
npm run compile
or
npm run watch- Open the project in VS Code
- Press
F5to start debugging - A new Extension Development Host window will open with the extension loaded
- prismarine-nbt: Used for reading and writing NBT data from Minecraft files
MIT
If you encounter any issues or have suggestions:
- Check the Issues page for existing reports
- Create a new issue with detailed information about the problem