Built upon the three.js voxel painter example
Initially built as a simple voxel painter that allows you to export your design to a Minecraft version 1.19 command block.
Possible features and improvements to come:
- Update saved a template (rather than create/delete)
- Paint mode
- Shape mode
- Larger grid area
- Windows for house & building generation
- Slabs (with orientation)
- Logs with orientation
- Mirror Voxels on y/z axis
- Stairs (with orientation)
- More UI controls for randomizers
- Frames for house generation
- Roofs for house generation
- Mirror Voxels x
- Flip model x/y/z
- Move model x/y/z
- Prefilled example
- Texture selection
- House generator
- Building generator
npm install
npm run start
You can run a dev server on: localhost:8080
npm run build
Assets will be built to ./dist
npm run test
- Click the "Generate command code" link.
- Copy the command block code that is generated
- In minecraft, open the terminal with
/
- Give yourself a command block
/give <player_name> minecraft:command_block
- Place the command block where you'd like
- Right click the command block to bring up the options
- Paste the generated code in the the text field and click "Done"
- Activate it with redstone, or select "Always Active" to trigger it immediately
The design will generate 1 block above the command block, and the code will auto-delete the command block. You can bury the command block below the ground to make your design sit on the ground.