Ephemeral Regeneration

Ephemeral Regeneration is a module which varies regeneration rates during different times of the day

Overview
Regeneration rates are slowest at dusk (sunset), and are quickest during the day.

The Ephemeral Regeneration module attempts to restrict player movement during critical times of the day. Under normal mob spawn conditions, Dusk is when the heaps of mobs start to emerge. This module encourages players to take shelter during that period.

Regeneration Dichotomines
On the 24000-tick timescale which Minecraft uses, the regeneration rates can be ordered as such:

Trivia
Since this module is limited by the naturalRegeneration gamerule, it is difficult to accurately predict the decrease in regeneration rates during specific time periods.

During development, balancing was conducted with manual testing.