Bedrock Snippets

Precise Rotation

View Source

precise_rotation > rp > models > blocks > shell.geo.json

{
    "format_version": "1.21.90",
    "minecraft:geometry": [
        {
            "description": {
                "identifier": "geometry.shell",
                "texture_width": 16,
                "texture_height": 16
            },
            "bones": [
                {
                    "name": "shell",
                    "pivot": [0, 0, 0]
                },
                {
                    "name": "up_0",
                    "parent": "shell",
                    "pivot": [0, 0, 0],
                    "cubes": [
                        {
                            "origin": [-3, 0, -3],
                            "size": [6, 3, 6],
                            "uv": {
                                "north": { "uv": [0, 6], "uv_size": [6, 3] },
                                "east": { "uv": [0, 6], "uv_size": [6, 3] },
                                "south": { "uv": [0, 6], "uv_size": [6, 3] },
                                "west": { "uv": [0, 6], "uv_size": [6, 3] },
                                "up": { "uv": [6, 6], "uv_size": [-6, -6] },
                                "down": { "uv": [6, 6], "uv_size": [-6, -6] }
                            }
                        }
                    ]
                },
                {
                    "name": "up_22_5",
                    "parent": "shell",
                    "pivot": [0, 0, 0],
                    "rotation": [0, 22.5, 0],
                    "cubes": [
                        {
                            "origin": [-3, 0, -3],
                            "size": [6, 3, 6],
                            "uv": {
                                "north": { "uv": [0, 6], "uv_size": [6, 3] },
                                "east": { "uv": [0, 6], "uv_size": [6, 3] },
                                "south": { "uv": [0, 6], "uv_size": [6, 3] },
                                "west": { "uv": [0, 6], "uv_size": [6, 3] },
                                "up": { "uv": [6, 6], "uv_size": [-6, -6] },
                                "down": { "uv": [6, 6], "uv_size": [-6, -6] }
                            }
                        }
                    ]
                },
                {
                    "name": "up_45",
                    "parent": "shell",
                    "pivot": [0, 0, 0],
                    "rotation": [0, 45, 0],
                    "cubes": [
                        {
                            "origin": [-3, 0, -3],
                            "size": [6, 3, 6],
                            "uv": {
                                "north": { "uv": [0, 6], "uv_size": [6, 3] },
                                "east": { "uv": [0, 6], "uv_size": [6, 3] },
                                "south": { "uv": [0, 6], "uv_size": [6, 3] },
                                "west": { "uv": [0, 6], "uv_size": [6, 3] },
                                "up": { "uv": [6, 6], "uv_size": [-6, -6] },
                                "down": { "uv": [6, 6], "uv_size": [-6, -6] }
                            }
                        }
                    ]
                },
                {
                    "name": "up_67_5",
                    "parent": "shell",
                    "pivot": [0, 0, 0],
                    "rotation": [0, 67.5, 0],
                    "cubes": [
                        {
                            "origin": [-3, 0, -3],
                            "size": [6, 3, 6],
                            "uv": {
                                "north": { "uv": [0, 6], "uv_size": [6, 3] },
                                "east": { "uv": [0, 6], "uv_size": [6, 3] },
                                "south": { "uv": [0, 6], "uv_size": [6, 3] },
                                "west": { "uv": [0, 6], "uv_size": [6, 3] },
                                "up": { "uv": [6, 6], "uv_size": [-6, -6] },
                                "down": { "uv": [6, 6], "uv_size": [-6, -6] }
                            }
                        }
                    ]
                },
                {
                    "name": "side",
                    "parent": "shell",
                    "pivot": [0, 5, 8],
                    "rotation": [90, 0, 0],
                    "cubes": [
                        {
                            "origin": [-3, 5, 8],
                            "size": [6, 3, 6],
                            "uv": {
                                "north": { "uv": [0, 6], "uv_size": [6, 3] },
                                "east": { "uv": [0, 6], "uv_size": [6, 3] },
                                "south": { "uv": [0, 6], "uv_size": [6, 3] },
                                "west": { "uv": [0, 6], "uv_size": [6, 3] },
                                "up": { "uv": [6, 6], "uv_size": [-6, -6] },
                                "down": { "uv": [6, 6], "uv_size": [-6, -6] }
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
Copied to Clipboard