It doesn't ban "almost everything." It's a mix of universal background checks, red-flag laws, and assault weapon bans. And it has a grandfather clause for those who already own assault rifles.
https://www.virginiamercury.com/2019/12/09/northam-backed-assault-weapon-bill-will-include-grandfather-clause-for-existing-guns/
Not banned: hunting rifles, shotguns, handguns. This is all consistent with what is allowed under current 2nd Amendment jurisprudence.