Help with procedure trigger on player tick update

Started by TKG112 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with procedure trigger on player tick update
Sun, 06/09/2024 - 22:34 (edited)

I'm making a Night Vision Goggles with a shader that can be turned off and on with a key, but when the key is pressed to turn the shaders on, it loads non-stop, causing a lot of lag.

 

So, what I want to know, its possible to decrease the amount of lag, basicly load the shader only if false, otherwise, don't, BUT, I still need the procedure to check evey tick for the variable.

Shader Procedure:

 

Shaders Utils version: 1.4.2

Edited by TKG112 on Sun, 06/09/2024 - 22:34