Using tools like SeedCracker to find the world's seed. Once you have the seed, you can replicate the world in single-player or use an overlay to see exactly where ores should be, bypassing the server's fake data entirely.
In unmodded Minecraft, an X-Ray mod or hacked client tells the game: "Do not render block ID #1 (stone), #2 (dirt), #3 (gravel). Only render block IDs #56 (diamond), #14 (gold), etc." The client happily complies, and you see ores floating in a void. anti xray bypass texture pack
Most anti-xray plugins replace ores with random stone variants on the server side. This pack re-textures those hidden blocks back to their real ore appearance using custom model data and blockstate overrides. Using tools like SeedCracker to find the world's seed