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
- RedCoal27 for this big item model : https://github.com/RedCoal27/Custom-Item
Metadata
Release files for model-resolver 1.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| model_resolver-1.16.0.tar.gz | 1.3 MB | Without provenance | Details for model_resolver-1.16.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| model_resolver-1.16.0-py3-none-any.whl | Python 3 | none | any | Details for model_resolver-1.16.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / model_resolver-1.16.0.tar.gz
| Download URL | model_resolver-1.16.0.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d5faea28d814bd9b0c11a5cc53ed5302e98cb4dc9003c2fbe27c1287a22d028
|
|
BLAKE2b-256 checksum How to use checksums |
408c020c41e50e5ff4f10d53f4fe9f5098d818cbe672ad763d81bee2059e9479
|
| 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.0-py3-none-any.whl
| Download URL | model_resolver-1.16.0-py3-none-any.whl |
|---|---|
| Size | 63.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40b2d4c1b73b3a7dc830236c3f6bb2eb59ca7e4e32b7a53b012c38c68fd84488
|
|
BLAKE2b-256 checksum How to use checksums |
ff477c737a3ccf7652a098a56e8fc41385cad2826e0aa2aaf3a5689e282794a0
|
| 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.0
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.