Skip to content

bt7s7k7/StructureExporter

Repository files navigation

Structure Exporter

Generates glTF models from Minecraft structure files. Compared with other competing solutions, this project focuses on simplicity and compatibility. No information about anything Minecraft related is included in the program, instead everything is read from Minecraft block state and model definitions, providing inherent compatibility with mods and resource packs.

Features

  • Dynamic resource loading: Compatibility with mods and resource packs
  • Recursive structure support: Compatibility with Create contraptions (including Aeronautics)
  • No native dependencies: Written entirely in TypeScript, enabling running in browser
  • Efficient materials: All required textures are packed into one atlas, requiring only three materials to represent all blocks (opaque, alpha cutoff and alpha blended)
  • Self-contained output: Exported glTF model includes all the textures required for included blocks so it can be used directly without external files

Limitations

  • Block entity support: No geometry created by block entity renderers is included (e.g. chest, beds, banners…)
  • Face culling: Without actual block information, face culling uses simple heuristics limited to full blocks
  • Animated textures: Animated textures are not supported, only the first frame is shown

About

Generates glTF models from Minecraft structure files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages