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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file minecraft_render-2.0.0a6.tar.gz.

File metadata

  • Download URL: minecraft_render-2.0.0a6.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for minecraft_render-2.0.0a6.tar.gz
Algorithm Hash digest
SHA256 d5d0d6ec1731fdb9c93dbc7d7352f43029347731d8737b3202132810f27ac31e
MD5 cdf22c81cba72c1f2f3636391e8c20de
BLAKE2b-256 811584dffe34671ba4f22572242e084718ba46d649a6455b47af6f86a2d997f0

See more details on using hashes here.

File details

Details for the file minecraft_render-2.0.0a6-py3-none-any.whl.

File metadata

File hashes

Hashes for minecraft_render-2.0.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 0f36548bea758c57b23f64ddfa28003e4f8aa55b4873b05a8e2ba6f4ba27f4ea
MD5 c3b079ecf158af5e04986e3510bfcfda
BLAKE2b-256 5343fcca733bc9a02ab6af20149394eed9e2215f4179a6d14c245df824a984d5

See more details on using hashes here.

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