season Namespace

This namespace provides information about the current season, if any. If Serene Seasons is installed, this information will reflect the current season defined by Serene Seasons. If Serene Seasons is not installed, the season will always be Spring.

Note

These functions are not available for biome condition scripts.

Boolean season.isSpring()

Evaluates whether the current season is Spring

Returns:

true if it is Spring, false otherwise.

Return type:

Boolean

Boolean season.isSummer()

Evaluates whether the current season is Summer

Returns:

true if it is Summer, false otherwise.

Return type:

Boolean

Boolean season.isAutumn()

Evaluates whether the current season is Autumn

Returns:

true if it is Autumn, false otherwise.

Return type:

Boolean

Boolean season.isWinter()

Evaluates whether the current season is Winter

Returns:

true if it is Winter, false otherwise.

Return type:

Boolean

Boolean season.isWarm()

Evaluates whether the current season is considered warm.

Returns:

Returns true if the current season is Spring or Summer, false otherwise.

Return type:

Boolean

Boolean season.isCool()

Evaluates whether the current season is considered cool.

Returns:

Returns true if the current season is Autumn or Winter, false otherwise.

Return type:

Boolean