Tired of looking for ores and exposed caves? Use an X-ray mod.
X-ray mods or texture packs allow you to see through blocks in Minecraft Java and Bedrock Edition. It’s a good way to spot various precious ores, structures, and massive caves. This can come in handy when you are playing in single-player worlds. Sometimes, you can be unlucky as your world generation has less exposed ores and caves.
However, keep in mind that some public multiplayer servers prohibit the use of X-ray mods or texture packs in Minecraft Java and Bedrock Editions. This is to prevent players from gaining an unfair advantage, especially in PvP servers. Using one may result in a suspension or ban. It is best to avoid using it for multiplayer servers.
With that said, here is how you can get the X-ray mod or texture pack in Minecraft for Java and Bedrock Edition.
How to download and install X-ray in Java Edition

Here is a step-by-step guide on how you can obtain an X-ray in Minecraft Java Edition:
- Download your preferred X-ray mod. For starters, you can download the Advanced XRay (Neoforge Edition).
- Download and install NeoForge, which is the same version as your Minecraft game.
- In the installer, select “Install Client.”
- Select the path to the game folder.
- Press “Proceed” and let the installer finish.
- Start the Minecraft launcher and select the NeoForge version.
- Once you confirm that NeoForge is running fine, close the game.
- Head to the game directory of Minecraft.
- Search for the mods folder and place your X-ray mod inside.
- Run the launcher and load up a save.
Depending on your X-ray mod, the hotkeys to activate it may vary. You can check your in-game control settings to see the hotkeys.
Related articles
How to download and install X-ray in Bedrock Edition

Here is a step-by-step guide on how you can install an X-ray add-on in Minecraft Bedrock Edition:
- Download your preferred X-ray mod. If you want recommendations, go for Better X-ray.
- Double-click on the downloaded file to install it.
- The file should open up Minecraft and install it.
- Wait for the installation to finish.
- In the main menu, head to "Settings."
- Scroll down to the "Global Resources" section.
- Expand the "My Packs" section.
- Activate the X-ray add-on.
- Play the game.
If you don’t want to remove it, you can simply deactivate it anytime you want.
For more Minecraft news and guides, stick around on esports.gg.