Skip to content

A collection of scripts for creating voxel representations of meshes in blender, and exporting them to structure block nbt format

License

Notifications You must be signed in to change notification settings

underscoren/blender-to-nbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blender to NBT

A collection of Blender scripts to aid in the creation and exporting of Structure Block NBT files, for use in minecraft.

These can be used to make structures using vanilla Structure Blocks, the Create mod as files for the Schematicannon or any other mods, plugins or external programs which use the Structure Block NBT file format.

Downloads

You can download both addons from the releases tab

Usage

The addons come in two parts, designed to be used with each other. The first addon is voxelize-exact.py, which adds a new operator to objects that attempts to create exact 1m cubes using the remesh modifier. You can find it at the bottom of the Obeject menu listed as Voxelize Exact.

The second part is the nbt-export addon, which scans the currently selected object for blocks, and exports them to an NBT file. You can find it under File > Export > NBT Structure File (.nbt).

The export script has some caveats, namely that it expects blocks to be 1m in size and on meter increments. The voxelize-exact addon should produce the blocks the export script expects.

License

The code in this repository is licensed under the MIT License. The python NBT library used is also licensed under MIT.

About

A collection of scripts for creating voxel representations of meshes in blender, and exporting them to structure block nbt format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages