What you need before you start

The X-Ray texture pack works only in Minecraft Java Edition, not the Windows 10/11 or Bedrock versions. You need Java Edition installed on your computer, and you need to know where Minecraft stores its files on your system. The pack itself is a folder you download and place in a specific location — there is no installer to run.

Before you begin, close Minecraft completely. If it is running in the background, the installation will not work. You will also need a file manager (Windows Explorer on Windows, Finder on Mac) to navigate to folders and move files around.

Key Takeaways

  • X-Ray texture packs only work in Minecraft Java Edition and require you to manually place files in your .minecraft folder.
  • You download the texture pack as a ZIP file and move it into the resourcepacks folder without unzipping it.
  • After moving the file, you open Minecraft, go to Options > Resource Packs, and activate the pack from the list.
  • If the pack does not appear in your list, the file is in the wrong location or the ZIP file is corrupted.
  • Some servers and multiplayer worlds ban X-Ray packs, so check the rules before using one.

Finding and downloading the X-Ray texture pack

Search for "X-Ray texture pack" on a texture pack website like CurseForge, Planet Minecraft, or Minecraft Forum. Look for a version that matches your Minecraft version number — if you are running Minecraft 1.20, download a pack labeled 1.20 or "1.20 compatible". Packs made for older versions may not work correctly.

Click the download button. The file will be a ZIP file with a name like "XRay-1.20.zip" or similar. Do not unzip it. Leave it as a ZIP file — this is important. Save it somewhere you can find it, like your Downloads folder or Desktop.

Locating your .minecraft folder

Minecraft stores all its files in a hidden folder called .minecraft. On Windows, press the Windows key and R together to open the Run dialog. Type %appdata% and press Enter. A folder window will open. Look for a folder named .minecraft and open it.

On Mac, open Finder. Press Command and Shift and G together to open the "Go to Folder" dialog. Type ~/Library/Application Support/minecraft and press Enter. This takes you directly to your .minecraft folder.

Once you are inside the .minecraft folder, look for a folder named resourcepacks. If you do not see it, you are in the wrong location — go back and check your path. If the resourcepacks folder does not exist, create a new folder and name it exactly resourcepacks (all lowercase, no spaces).

Moving the texture pack file into place

Open your Downloads folder or wherever you saved the X-Ray ZIP file. Do not unzip it. Right-click the ZIP file and select Cut (or Copy). Navigate back to your .minecraft folder, then open the resourcepacks folder inside it. Right-click in the empty space and select Paste. The ZIP file will now be in your resourcepacks folder.

If you are on Mac and the file appears unzipped automatically, you may need to re-download it and use a different method. Some Mac systems unzip files on download. In that case, right-click the unzipped folder, select Compress, and save the resulting ZIP file to your resourcepacks folder.

Activating the pack in Minecraft

Open Minecraft Java Edition and wait for it to fully load. Click Options at the main menu, then select Resource Packs. You should see a list of available packs on the left side. Look for the X-Ray pack by name — it will show the pack name and the Minecraft version it supports.

Click the X-Ray pack once to select it, then click the arrow button pointing right to move it to the Active list on the right side. The pack is now active. Click Done to return to the main menu. The next time you load a world, the X-Ray textures will be visible.

Troubleshooting if the pack does not appear

If you do not see the X-Ray pack in your Resource Packs list, the file is either in the wrong location or the ZIP file is corrupted. First, close Minecraft and check that the ZIP file is actually inside the resourcepacks folder — not in a subfolder within resourcepacks. The file path should be .minecraft/resourcepacks/XRay-1.20.zip (or whatever the file is named).

If the file is in the right place, try downloading the pack again. The first download may have been incomplete or corrupted. Save the new ZIP file to your resourcepacks folder and restart Minecraft. If it still does not appear, the pack may not be compatible with your Minecraft version. Check the pack's description page to confirm it supports the version you are running.

On rare occasions, Minecraft caches the resource pack list. Close Minecraft completely, wait 10 seconds, and open it again. This forces Minecraft to refresh the list of available packs.

What X-Ray packs actually do

X-Ray texture packs make certain blocks transparent or invisible so you can see through stone, dirt, and other materials to find ores, caves, and structures underneath. Different packs handle this differently — some make stone completely see-through, others make only ore blocks visible, and some highlight specific blocks in bright colors.

Be aware that many multiplayer servers and online worlds ban X-Ray packs because they give an unfair advantage in survival mode. Check the server rules before joining a world with the pack active. Single-player worlds and private servers are usually safe, but always confirm with the server owner first.

Frequently Asked Questions

Can I use X-Ray packs on multiplayer servers?

Most public multiplayer servers ban X-Ray packs because they provide an unfair advantage. Some servers detect and kick players using them. Check the server rules before joining. Private servers may allow them if the owner permits it.

Why does the pack not work even though it is in my resourcepacks folder?

The most common reason is that the ZIP file is corrupted during download. Try downloading the pack again from the same source. Also confirm that the file is a ZIP file and not already unzipped — Minecraft requires the ZIP format.

Do I need to unzip the texture pack file?

No. Leave the file as a ZIP. Minecraft reads ZIP files directly. If you unzip it, Minecraft will not recognize it as a valid resource pack.

Can I use X-Ray packs in the Windows 10 or Bedrock version of Minecraft?

No. X-Ray texture packs work only in Minecraft Java Edition. Bedrock Edition uses a different file system and does not support traditional texture packs the same way.

What happens if I remove the X-Ray pack?

Simply delete the ZIP file from your resourcepacks folder and restart Minecraft. The game will return to normal textures. Your worlds are not affected — removing a pack does not change your saved games.