Night Vision is being ignored if current cameraEntity is not a player while shaderpack is active
Hi! I am developing a mod and i am changing (Minecraft.getInstance().)cameraEntity to my own entity in certain situations. The issue is that i need night vision to work but it just doesn't (with vanilla entities too (when you possess them in spectator mode)).
Is there a fix for that, that i can forcefully turn on in code or where should i mixin to tell iris that scene should be rendered like i have night vision (i tried overriding hasEffect in my entity but no result)?
Version 1.21.1 NeoForge
Iris 1.8.8

1 Reply
Nevermind, i found the issue. I totally forgot that entities doesn't sync their effects to client side.