Minecraft wiki entry for Predicate, associated text: weather_check—Checks the current game weather. Invokable from any context.
 raining: If true, the condition passes only if it is raining or thundering.
 thundering: If true, the condition passes only if it is thundering.