Conversation
… to fix the wrong order in rendering.
|
This is a bit of an annoying workaround of a problem introduced by other mods. Shown behavior is not present in vanilla. Should this really be in EMI and not resolved elsewhere? |
I could be wrong, but I think the error isn't caused by other mods, but by large trees and internal rendering synchronization issues. Vanilla Minecraft doesn't have crafting trees large enough to reproduce this issue. I just tested this on a pure Minecraft + gregtech + emi setup, and it broke. I also reproduced it on a pure Minecraft + my mod + emi setup, and it caused the issue again. The error only occurs on fairly large trees, but not every time, so I think it's a synchronization issue. This seems to be a fairly simple fix that follows the original logic without complicating it, while also fixing rendering issues with the EMI recipe tree screen. Honestly, I can't even imagine how this could be fixed using other mods' code. |
Split render methods into
renderBaseandrenderAmountto fix the wrong order in rendering.Now, in batching renderer enabled and with large trees numbers may render under icons, witch cause the visual bug ->

This PR fix this bug ->
