A Visual Studio Code extension that provides a visual graph viewer for Minecraft Bedrock Edition animation controller files. This extension helps developers visualize the state machine structure of their animation controllers with an interactive graph display.
- Automatic Detection: Automatically recognizes valid Minecraft Bedrock animation controller JSON files
- Visual Graph Display: View your animation controller states and transitions in an interactive graph
- Auto-Open: Automatically opens the graph viewer when you open a valid controller file (configurable)
- Real-time Updates: The graph updates automatically as you edit your controller file
- Side-by-Side View: Opens in a separate panel beside your code editor
- Manual Control: Toggle auto-open behavior or manually open the viewer via commands
The extension automatically detects JSON files that contain:
animation_controllersobject with at least one controller definition- Valid Minecraft Bedrock animation controller structure
- Open a Minecraft Bedrock animation controller JSON file
- The graph viewer will automatically open in a side panel
- Edit your controller file and watch the graph update in real-time
- Use
Ctrl+Shift+P(orCmd+Shift+Pon Mac) to open the command palette - Search for "Open Animation Controller Graph" and select it
- Or use "Toggle Auto Open" to disable/enable automatic opening
- Controller View: Open Animation Controller Graph - Manually open the graph viewer for the current file
- Controller View: Toggle Auto Open - Toggle the auto-open setting globally
Access these settings via VS Code's settings (Ctrl+,):
controllerView.autoOpen(boolean, default:true) - Automatically open the controller graph when opening a valid controller file
- Visual Studio Code 1.60.0 or higher
- Valid Minecraft Bedrock animation controller JSON files
The extension looks for JSON files with the following structure:
{
"animation_controllers": {
"controller.animation.example": {
"states": {
"default": {
// state definition
}
}
}
}
}- Install from the VS Code Marketplace
- Search for "Animation Controller Graph Viewer" by Pixelmancer
- Or download the VSIX file and install manually
This is an open-source project. Contributions are welcome!
MIT License - see LICENSE.md for details
- Rewrote the way graphs display using dagre D3
- Graphs can now be zoomed in and out
- Slightly better styling
- Error messages appear in the graph
- Current release with improved stability and performance
- Initial release with core functionality