You have a little mistake in there

BiomeRegistry.mainRegistry();
the second Registry had a letterflip xD Regsitry