Modern Model Format

Allows 1.21.11 models to load in older versions

21

Modern Model Format

Allows the use of the `1.21.11` model format in older versions with the help of black magic, specifically allowing all three axis (XYZ) rotation and incrementes larger/smaller than 22.5°, additionally removing the 3x3x3 size constraint.

Example

Showcase of the mod featuring a diamond block with three axis rotation

Model

File: `assets/minecraft/models/block/diamond_block.json` ```json { "format_version": "1.21.11", "textures": { "all": "block/diamond_block" }, "elements": [ { "from": [0, 0, 0], "to": [16, 16, 16], "rotation": {"x": 45, "y": 45, "z": 45, "origin": [8, 8, 8]}, "faces": { "north": {"uv": [0, 0, 16, 16], "texture": "#all"}, "east": {"uv": [0, 0, 16, 16], "texture": "#all"}, "south": {"uv": [0, 0, 16, 16], "texture": "#all"}, "west": {"uv": [0, 0, 16, 16], "texture": "#all"}, "up": {"uv": [0, 0, 16, 16], "texture": "#all"}, "down": {"uv": [0, 0, 16, 16], "texture": "#all"} } } ] } ```

Supports both rotation types:

*All axis rotation* ```json "rotation": { "x": 45, "y": 45, "z": 45, "origin": [ 8, 8, 8 ] } ```

*Single axis rotation* ```json "rotation": { "angle": 45, "axis": "y", "origin": [ 8, 8, 8 ] } ```

Issues

If you have found an issue please report it on the github, along with (if applicable): - any logs - the model - a screenshot - the game version - modlist

ADS