My suggestion would be about creating a RenderWorldLastEvent for LookingGlass views, but after looking at the code, I've seen that RenderWorldLastEvent is fired on LookingGlass views and that could cause rendering issues with other mods.
What you can do for a hacky workaround is setting the listeners field on net.minecraftforge.fml.common.eventhandler.Event to a new ListenerList instance before rendering and setting it back right after. You can also use ASM, but I think you don't want to make LookingGlass a coremod, right?!
I don't see any reason for not having a RenderViewLastEvent, maybe it's because I'm not familiar with the code yet
My suggestion would be about creating a
RenderWorldLastEventfor LookingGlass views, but after looking at the code, I've seen thatRenderWorldLastEventis fired on LookingGlass views and that could cause rendering issues with other mods.What you can do for a hacky workaround is setting the
listenersfield onnet.minecraftforge.fml.common.eventhandler.Eventto a newListenerListinstance before rendering and setting it back right after. You can also use ASM, but I think you don't want to make LookingGlass a coremod, right?!I don't see any reason for not having a
RenderViewLastEvent, maybe it's because I'm not familiar with the code yet