Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add multi texture support for OptiFine CEM #857

Closed
ewanhowell5195 opened this issue Mar 24, 2021 · 4 comments
Closed

[Request] Add multi texture support for OptiFine CEM #857

ewanhowell5195 opened this issue Mar 24, 2021 · 4 comments

Comments

@ewanhowell5195
Copy link
Contributor

ewanhowell5195 commented Mar 24, 2021

JEM models support different textures per bone, as well as the main texture that is applied to everything:

    "texture": "test_texture.png",
    "textureSize": [32, 32],
    "models": [
        {
            "part": "body",
            "id": "body",
            "texture": "test_texture1.png",
            "textureSize": [32, 64],
            "invertAxis": "xy",
            "translate": [0, -27, 0],
            "boxes": [
                {"coordinates": [-0.5, 0, -0.5, 1, 31, 1], "textureOffset": [0, 0]}
            ],
            "submodels": [
                {
                    "id": "bone",
                    "texture": "test_texture2.png",
                    "textureSize": [64, 32],
                    "invertAxis": "xy",
                    "translate": [0, 27, 0],
                    "boxes": [
                        {"coordinates": [-1.5, -2, -0.5, 3, 2, 1], "textureOffset": [4, 0]},
                        {"coordinates": [-2.5, -1, -0.5, 1, 4, 1], "textureOffset": [4, 3]},
                        {"coordinates": [1.5, -1, -0.5, 1, 4, 1], "textureOffset": [4, 3]}
                    ]
                }
            ]
        }
    ]
}

at the moment blockbench doesnt detect these textures when opening the model, and completely deletes the lines upon saving
it would be nice to see something in blockbench like this where u can apply textures to individual bones

@WantedRobot
Copy link

yes please add this

JannisX11 added a commit that referenced this issue Sep 29, 2021
Add OptiFine CEM multi texture support (import/export only) (#857)
@stale
Copy link

stale bot commented Apr 19, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 19, 2023
@ewanhowell5195
Copy link
Contributor Author

e

@stale stale bot removed the stale label Apr 19, 2023
@aurora-1-2-3
Copy link

I don't anything Abt development
But
Just copy the multi texture code from the generic model to the optifine?
[this question is for jannis]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants