How to Toggle the X-Ray Texture Pack On and Off While Mining
Because the X-Ray Texture Pack turns normal ground blocks like dirt and stone completely transparent, keeping it active at all times makes navigating your world difficult. You can quickly toggle the pack on and off right from your pause menu while mining in a private world.
Activating the Pack Underground
1. Reach the underground level where you want to start searching for resources.
2. Press Esc to open the game menu, then click Options and select Resource Packs.
3. Find the X-Ray Texture Pack in the left-hand column of available packs and click the arrow on its icon to move it to the active right-hand column.
4.
Navigating to Your Ores
Once the pack is active, dirt and stone will become invisible, leaving ores and gravel clearly visible in the space around you. Look around to spot the exact vein you want to mine and face directly toward it.
Because you cannot see the stone blocks directly in front of you or beneath your feet, switch the pack back off before you start digging a long tunnel. Open the Resource Packs menu again, move the X-Ray Texture Pack back to the left column, and click Done. Your normal 16x block textures will return so you can safely bridge, place torches, and dig toward the coordinates or direction you noted.