You can find the official version on CurseForge or Minecraft Inside . Installation: Open Minecraft 1.19.3. Go to Options > Resource Packs > Open Pack Folder . Drag the downloaded .zip file into this folder.

Before you download, understand the risks of using X-Ray on servers: YouTube·Tutorialy

Resource packs are the most popular way to get X-Ray because they don't require external software like Forge or Fabric.

Because the game tries to render "darkness" in caves, you may need a Night Vision Potion or OptiFine to actually see the ores clearly. 2. X-Ray Mods (Forge/Fabric)

This is the industry standard. It makes common blocks invisible while keeping ores highlighted.