Activating an effect when the weather changes to raining

Started by Frostlith on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Activating an effect when the weather changes to raining

So I'm making a mod and i've been trying to figure out how to activate a procedure once the game changes the weather at all. I'm trying to apply a sort of "blindness" effect during rain (which is replaced by snow in the effected dimension). Does anyone know how i could go about doing this without having to check it every tick?