The new legislation is designed to consolidate the state’s response to climate events including floods, storms and wildfires.