Render geo models in items

This commit is contained in:
2026-11-22 12:24:14 -03:00
parent dee07eaa0c
commit e751d22c6e
10 changed files with 171 additions and 29 deletions
+2 -1
View File
@@ -330,7 +330,8 @@ get the id `<mod id>:<name>`. From the file's first geometry, bworld uses:
- the description's `texture_width` and `texture_height`,
- each bone's `name`, `parent`, `pivot` and `rotation`,
- each cube's `origin`, `size`, `uv`, `inflate`, `pivot` and `rotation`.
- each cube's `origin`, `size`, `uv`, `inflate`, `pivot` and `rotation`,
- `item_display_transforms`, for an [item drawn with it](../resources/models.md#entity-models-as-items).
Cubes can use box UV (`"uv": [u, v]`) or per face UV (`"uv": { "north": { "uv": [u, v], "uv_size": [w, h] }, ... }`),
where a face that's left out isn't drawn and a negative size flips it. Faces are drawn from both sides, like Bedrock's