Skip to content

feat: Integrate Bedrock .mcstructure model viewer workspace - #219

Merged
brettfxio merged 5 commits into
mainfrom
feature/bedrock-model-viewer-14010332234472671607
Aug 5, 2026
Merged

feat: Integrate Bedrock .mcstructure model viewer workspace#219
brettfxio merged 5 commits into
mainfrom
feature/bedrock-model-viewer-14010332234472671607

Conversation

@brettfxio

Copy link
Copy Markdown
Contributor

This pull request integrates support for Minecraft Bedrock .mcstructure files inside the visual Blockly 3D coding editor. By intercepting model URLs or uploaded local assets ending with .mcstructure inside BabylonSceneManager.importModel, the engine dynamically loads the NBTify library to parse the little-endian NBT buffer and builds instanced voxels matching custom color mappings. An initial bedrock-model-viewer workspace is provided to showcase visual interaction with Bedrock models.


PR created automatically by Jules for task 14010332234472671607 started by @brettfxio

- Add Bedrock .mcstructure NBT parser and renderer to BabylonSceneManager.importModel.
- Lazy load NBTify ESM library dynamically at runtime.
- Create bedrock-model-viewer.md workspace with Blockly starter template.
- Implement comprehensive Playwright test verifying voxel structure rendering and color mappings.

Co-authored-by: brettfxio <105930054+brettfxio@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 4 commits August 5, 2026 17:25
- Add Bedrock .mcstructure NBT parser and renderer to BabylonSceneManager.importModel.
- Lazy load NBTify ESM library dynamically at runtime.
- Create bedrock-model-viewer.md workspace with Blockly starter template.
- Implement comprehensive Playwright test verifying voxel structure rendering and color mappings.

Co-authored-by: brettfxio <105930054+brettfxio@users.noreply.github.com>
- Add Bedrock .mcstructure NBT parser and renderer to BabylonSceneManager.importModel.
- Compute and format voxel dimensions, block count, and distribution statistics, attaching them to model metadata.
- Create bedrock-model-viewer.md workspace with Blockly starter template utilizing metadata block to show statistics popup.
- Implement comprehensive Playwright test verifying voxel structure rendering, color mappings, and metadata stats.

Co-authored-by: brettfxio <105930054+brettfxio@users.noreply.github.com>
- Add Bedrock .mcstructure NBT parser and renderer to BabylonSceneManager.importModel.
- Lazy load NBTify ESM library dynamically at runtime.
- Create bedrock-model-viewer.md workspace with Blockly starter template.
- Implement comprehensive Playwright test verifying voxel structure rendering and color mappings.

Co-authored-by: brettfxio <105930054+brettfxio@users.noreply.github.com>
- Add Bedrock .mcstructure NBT parser and renderer to BabylonSceneManager.importModel.
- Lazy load NBTify ESM library dynamically at runtime.
- Create bedrock-model-viewer.md workspace with Blockly starter template.
- Implement comprehensive Playwright test verifying voxel structure rendering and color mappings.

Co-authored-by: brettfxio <105930054+brettfxio@users.noreply.github.com>
@brettfxio
brettfxio merged commit b5ef503 into main Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant