Skip to content

hexdoc-dev/minecraft-render-py

 
 

Repository files navigation

Rendered image

minecraft-render

TODO: Update docs for minecraft-render-py.

Renders minecraft block models using THREE.js. Default output format is PNG 1000x1000.

Pre-rendered assets

You can find pre-rendered assets on Github Actions artifacts. By clicking the badge down below, you can access action list.

Render Test

Headless render and CI

If you are automating generation process on github or similar CI environments, make sure you configured display server. xvfb can be used for this purpose.

sudo apt-get install xvfb
xvfb-run --auto-servernum minecraft-render ...

Notes

https://minecraft.wiki/w/Tutorials/Models

  • Rework system
  • Detach Jar from data reading (interface to provide info, allow for directory sources, or prioritized stacks)
  • Incorporate blockstates to configure properly
  • Rotate as needed (see: stairs etc)

About

Minecraft block/texture rendering with node.js and Python

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 83.8%
  • Python 16.2%