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

[NeoForge] IItemDecorators are not rendered for batched items #815

Open
embeddedt opened this issue Dec 23, 2024 · 1 comment
Open

[NeoForge] IItemDecorators are not rendered for batched items #815

embeddedt opened this issue Dec 23, 2024 · 1 comment

Comments

@embeddedt
Copy link
Contributor

When stack batching is enabled, NeoForge IItemDecorators are not rendered for those stacks. An example of this is that Mekasuit energy levels from Mekanism are not rendered with batching active (tested on 1.21.1).

image

I've split this off from #790 as the original issue now has a PR open which fixes it. Fixing this one will unfortunately require reaching into NeoForge internals, as the ItemDecoratorHandler class is not public API, but you need it to determine which stacks have a decorator registered.

@screret
Copy link

screret commented Dec 23, 2024

Ohhh that explains why the light block state overlay just didn't work..

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