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

fabric version crash when equiping armor on custom model #22

Open
zerustu opened this issue Feb 16, 2022 · 1 comment
Open

fabric version crash when equiping armor on custom model #22

zerustu opened this issue Feb 16, 2022 · 1 comment

Comments

@zerustu
Copy link

zerustu commented Feb 16, 2022

the game crash when trying to render an entity with a custom model and armor equip if the "hidearmor" config isn't turn on.
the version is fabric (2.2.3 and 2.2.5 confirmed on different models and client)
any render of the entity create the crash: F5, inventory or CPM GUI.
and regardless of how the model is config to handle armor in the model.json:
-not "attachments" specification;
-an "attachemnt" bone to a correct bone specified;
-"attachement" for that armor but with empty array to disable it;
it crash in any cases.
crash-2022-02-16_08.36.44-client.txt

@Raastefer
Copy link

It may be a bit late for me to add to this, but nevertheless, in my own testing it seems that the cause of the crashes is coming from a mixin in Fabric API.

You can see for yourself by opening up the Fabric API jar, using 7zip or some similar tool and deleting the "fabric-rendering-v1" jar inside, which "fixes" the problem and allows CPM to render armor on models without issue.

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

No branches or pull requests

2 participants