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

Use Item Model instead of raw Item ids for uniform lookup. #2558

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

Patbox
Copy link

@Patbox Patbox commented Dec 5, 2024

Just like title. This change shouldn't change anything if modded (and vanilla items) didn't override item_model component (aka it matches registry id, which is currently the default).

If player gets an item with custom item_model, the uniform will depend purely on that. It should solve issues with some unintended effects caused by servers using base items that get some shader related effects.

This change doesn't apply to Block Items as to not change the logic, through in my opinion it should, as some blocks use different block and item models, which might make them look wrong.

@Patbox Patbox changed the title Use Item Model instead of raw Item ids for iniform lookup. Use Item Model instead of raw Item ids for uniform lookup. Dec 5, 2024
@IMS212 IMS212 merged commit 7b7cb61 into IrisShaders:1.21.4 Dec 9, 2024
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.

2 participants