Visual glitch with encoded patterns
bbgott opened this issue ยท 6 comments
Description
When holding shift to preview what an encoded pattern contains, rather than seeing the preview the pattern just disappears. Letting go of shift makes the pattern reappear
Environment
Tested with multiple mods and with AE2 alone. The behavior is the same
- Minecraft Version: 1.12.2
- AE2 Version: rv5-beta-1
- Forge Version: 1.12.2-14.23.0.2500
Pretty sure its related to oredictionary enabled in pattern, if it is, they tend to disappear.
OreDict shouldn't affect the output (rendered item).
I'm sure its because the chest item has a custom renderer (eg not a BakedModel). The good news is that there are not a lot of items that fall under that category.
Can you be a bit more specific? What item/recipe is it happening on? Do you have logs, screenshot?
In this first screenshot I have created an encoded pattern for a chest as an example. You can see the encoded pattern in my inventory.
When I hold down shift, the encoded pattern is supposed to show me that it is a pattern for a chest by changing to an icon of a chest. Instead, it just disappears.
I do not see any lines added to the log when it happens.
Can you reproduce this with any other item then a chest?
I don't know much about the rendering process, but it looks to me the chest item model is rendered with a TESR, so the baked model we get is empty. I don't really know how to fix this, maybe move to a TESR for the encoded pattern? Maybe someone with a bit more insight into this can help.