In Minecraft 1.8.8, an X-ray texture pack works by replacing the textures of common, "unimportant" blocks—such as stone, dirt, sand, and gravel—with transparent or glass-like textures. This allows the game engine to render the world while making the surface layers invisible to the player's eye, effectively revealing hidden ores, caves, and structures beneath the ground. How X-Ray Texture Packs Function
or classic custom packs, function by modifying the textures of common blocks (stone, dirt, grass, gravel) to be transparent, while leaving valuable ore textures (diamond, gold, coal, iron) fully opaque. The Mechanism: xray texture pack 188 work
you want to get X-ray in Minecraft Java Edition we're going to show you how to do it. and first things first you want to download. YouTube·The Breakdown In Minecraft 1