Minecraft 1.17 is here and, of course, there are bugs to fix. Ore distribution received knocked around a bit with the launch of 1.17 - although the builders stress it hasn’t been as bad as you’ve thought - and a new pre-launch update takes purpose at these issues. Assuming no main points are discovered in this second pre-release patch, it's best to count on to see the fixes land in 1.17.1 quickly.
Since the launch of 1.17, diamond ore has been generating one block off of the place it ought to have been in Java Version. https://ebookmarks.co/ getting fastened in Java 1.17.1. That is separate from the Bedrock bug that made diamond ore much rarer, and even that problem has already been addressed as of Bedrock Edition 1.17.2.
This replace also fixes a bug with emerald ore generation in Java. Since 1.17, you’d get between six and 24 emerald ore per chunk - the intended quantity is three to eight, and the ore is back to regular with this patch.