Skip to main content

logo

A beet plugin that render all models in the beet project.

Usage

Renders project

Without any installlation, all vanilla models are rendered in this repository

As a beet service

Example plugin to render an apple:

from beet import Context
from model_resolver import Render, Item




def beet_default(ctx: Context):
    render = Render(ctx)

    item = Item(
        id="minecraft:apple",
    )
    render.add_item_task(item, path_ctx="my_namespace:my_apple")
    render.run()

Additionally, you can customize the config :

meta:
  model_resolver:
    # load vanilla item models
    minecraft_version: "1.21.4-pre1"
    use_cache: true
    special_rendering: true

Installation

Windows

Install https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/ and add C++ build tools in the installation.

Ubuntu

Generally, you don't need to install anything, but if you have an error, you can try to install the following packages:

sudo apt-get -y install \
    freeglut3-dev \
    libgl1-mesa-dev \
    libxcursor-dev \
    libpulse-dev \
    libxinerama-dev \
    libxrandr-dev \
    libxv-dev \
    mesa-utils \
    libgl1-mesa-glx \
    mesa-common-dev \
    libglapi-mesa \
    libgbm1 \
    libgl1-mesa-dri \
    libsdl1.2-dev \
    libfreetype6-dev \
    xvfb \
    x11-utils

This is particularly useful in CI, see the github action for an example.

Common installation

Install the plugin by running:

pip install model-resolver

Pypi: https://pypi.org/project/model-resolver/

Credits

Metadata

Release files for model-resolver 1.16.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for model-resolver 1.16.1
File Size Uploaded Provenance Actions
model_resolver-1.16.1.tar.gz 1.3 MB Without provenance Details for model_resolver-1.16.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for model-resolver 1.16.1
File Interpreter ABI Platform Actions
model_resolver-1.16.1-py3-none-any.whl Python 3 none any Details for model_resolver-1.16.1-py3-none-any.whl

Total release size: 1.3 MB

Release files / model_resolver-1.16.1.tar.gz

Download URL model_resolver-1.16.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
cd832bef8ef863b657e82a65a511e1d16bd8c01356baa25ac25403cc1e5e9d6f
BLAKE2b-256 checksum
How to use checksums
7614116dc2bd98bdff0c208de16d49ad3388500d5574d16ec6aee794f38d5823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / model_resolver-1.16.1-py3-none-any.whl

Download URL model_resolver-1.16.1-py3-none-any.whl
Size 63.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de439e233600f17027c1b479565f34079e9528facf93862b323a4aef5c925aa1
BLAKE2b-256 checksum
How to use checksums
0758e5e36973862bb155238d9db92e4f812bd6e269adb0f0abe9b9ff6b04cddf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for model-resolver 1.16.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.16.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page