Comparison

XRay texture pack vs the Advanced XRay mod

An xray texture pack makes stone see-through by rewriting block textures. It works, but you are stuck with the pack author's choices and you have to swap packs every time you want to play normally. Advanced XRay does the same job as a mod — toggled with one key, configured in game, and free.

Side by side

What mattersXRay texture packAdvanced XRay mod
Turn it on and offSwap resource packs and reload every timeOne keypress (\) in game
Which blocks showFixed set baked into the packAny block you choose, add or remove live
ColoursWhatever the pack author pickedFull RGB picker per block
Finding ore at distanceLimited by render distance and pack tricksAdjustable X-Ray radius
Normal play afterwardsWorld looks wrong until you swap backWorld returns to normal instantly
Updates for new versionsPack often breaks on version bumpsBuilds for every supported 1.21.x release
CostFree, but quality varies wildlyFree and open source, GPL-3.0

Instant toggling

Press \ to switch X-Ray on, press it again to go back to a normal world. No pack reloads, no restarts.

Custom RGB highlighting

Give diamonds, ancient debris, spawners and chests their own colour so you can read a cave at a glance.

Your own block list

Add blocks from your hand, from what you're looking at, or by search — and share the JSON list with friends.

When a texture pack still makes sense

If you cannot install a mod loader at all — for example on a locked-down launcher — a resource pack is the only route left. Everywhere else, a client mod is less hassle and far easier to turn off. And on servers the rule is identical for both: use it only if the server allows it.

Common questions

What is an xray texture pack?
It is a Minecraft resource pack that makes stone and dirt fully transparent, so ore blocks stand out. Because the transparency is baked into the textures, the whole world looks hollow until you switch the pack off again.
Is a texture pack or a mod better for X-Ray?
A mod is better in almost every way: you toggle it with one key, choose exactly which blocks are highlighted, and pick your own colours. A texture pack cannot do any of that without editing files and reloading.
Do xray texture packs still work in Minecraft 1.21?
Some do, but resource pack formats change often and packs break between versions. Advanced XRay ships a fresh NeoForge and Fabric build for supported 1.21.x releases.
Are xray texture packs allowed on servers?
Same rule as mods: only if the server allows it. Many servers ban both. Check the rules before you use either one.

Source and issue tracker: AdvancedXRay on GitHub.