if(block.artificial) { regenChance = 0.1; } else { regenChance = 1 }
Honestly no idea how the regen works