NeoForge
NeoForge copied to clipboard
Add RenderGuiLayerEvent.Pre#isGoingToRender(), allowing to determine whenever layer is actually going to render on screen
Additionally, adds new RegisterGuiLayersEvent API methods, allowing to specify own "rendering condition" which is visible to other mods in isGoingToRender()
Introduces no breaking changes, everything that is declared as public API is binary compatible.