This chapter does not affect the authority of a municipality to:
(1) apply the municipality's regulations on short-term rental units to a mixed-use residential or multifamily residential development;
(2) adopt or enforce water quality protection regulations to implement or comply with water quality requirements under state or federal law, including Chapter 366, Health and Safety Code;
(3) adopt or enforce a density bonus program or other voluntary program that allows for site development standards that are less restrictive than the standards described by this chapter; or
(4) apply the following regulations that are generally applicable to other developments in the municipality:
(A) except as otherwise provided by this chapter:
(i) sewer and water access requirements; or
(ii) building codes;
(B) stormwater mitigation requirements; or
(C) regulations related to historic preservation, including protecting historic landmarks or property in the boundaries of a local historic district.