Skip to main content

Minecraft block/texture rendering with node.js and Python via JSPyBridge.

Project description

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.fandom.com/wiki/Tutorials/Models#Block_states

  • 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minecraft_render-2.0.0a6.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

minecraft_render-2.0.0a6-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page