Skip to content

Conversation

@rtm516
Copy link

@rtm516 rtm516 commented Jun 10, 2025

This fixes an issue where an error would be thrown when processing an item model with a non-standard item transform type. The vanilla client ignores any invalid types.

Example: https://github.com/Graclyxz/Many-More-Ores-and-Crafts/blob/941837076ee80e0e616e74330508d496ca10b10a/common/src/main/resources/assets/many_more_ores_and_crafts/models/item/tin_ore.json
This will cause the valueOf call to fail as thirdperson isn't a valid option. Following this change it will safely ignore the exception thrown and allow parsing to continue.

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

Successfully merging this pull request may close these issues.

1 participant