Learn · modules
What Is XRay in Minecraft? Ore Vision Explained
XRay is a Minecraft module that renders ore through terrain by changing what the client draws, not what the server sends, and why servers still ban for it.
What is XRay in Minecraft?
XRay is a visual module that renders ore and other valuable blocks through solid terrain, so a player can see exactly where a vein sits without ever swinging a pickaxe to look for it. It doesn't ask the server for anything special. It just changes what the client chooses to draw. Blind mining means tunneling on a hunch and hoping something turns up nearby. XRay skips that step and turns the map into a diagram of what's actually underground.
The appeal is speed. On any server where mining feeds an economy, whether through selling ore directly or crafting it into gear, cutting out the exploration is a direct edge over everyone still digging on a hunch. The cost is equally direct: servers treat it like any other exploit, not a cosmetic tweak.
How it works
When a chunk loads, the server sends the client the full block data for that chunk, ore included, whether or not any of it is currently exposed to open air. Normal rendering throws most of that away. It only draws the outer surface, the blocks that actually touch a visible face, because a real camera could never see through solid rock anyway.
An XRay module breaks that rule for whatever block types it targets. Depending on the build, it either stops the surrounding stone and dirt from rendering at all, or draws the target ore directly on top of the terrain that would otherwise bury it. Either way, a diamond vein three layers into a mountain shows up exactly like one already exposed in a cave. Tunneling stops being exploration and starts being a straight line.
Chunk loads with full data
Server sends all blocks in the chunk, including ore buried deep.
Client normally renders only surfaces
Vanilla rendering hides internal blocks behind the outer shell.
XRay breaks that rule
It renders ore blocks regardless of what's covering them.
Player sees the ore
Veins appear visible through the terrain, ready for direct extraction.
The end result is a mining advantage that's obvious in hindsight: you always know where the ore is, so you never waste time tunneling in empty directions. Real miners pause, backtrack, and occasionally miss blocks while mining. An XRay user does none of that.
Is XRay safe to use
XRay doesn't send anything extra over the network. Every block it reveals was already delivered to the client the moment the chunk loaded, the same principle a module like ESP uses to show entities through walls. A server watching packets in isolation has almost nothing to catch.
Detection comes from behavior instead. A player who tunnels in a dead straight line to a vein, mines only the valuable blocks and ignores everything else, or dodges a hazard they'd have no way of knowing about is producing a mining pattern a blind player simply wouldn't. Some servers also run client-side integrity scans that look for the modified rendering code XRay depends on, the same approach used against other visual cheats.
Because the trail is behavioral rather than a single obvious packet, XRay can go unnoticed longer than a combat cheat does. That's not the same as being safe. Servers that review mining statistics or investigate suspicious digging treat it like any other exploit: full ban, no warning shot.
XRay vs other vision modules
XRay sits in a broader category of modules that change what the client renders without changing what the server sends. The distinction matters because each one carries different risk.
| Vision Module | What it reveals | Detection method | Server risk |
|---|---|---|---|
| XRay | Ore through terrain | Mining patterns, client scan | High |
| ESP | Players/mobs through walls | Movement patterns, client scan | High |
| Coordinates | Player position | None, display-only | None |
| World Time | In-game clock | None, display-only | None |
The safe end is display modules that show information already in vanilla. The dangerous end is rendering changes that give an unfair edge.
FAQ
Yes, on any server where mining or a resource economy matters. It gives a direct advantage over players finding ore the normal way, and it's treated as a bannable exploit, not a cosmetic feature.
No. The server already sends full chunk data, ore included, the moment a chunk loads. XRay only changes how the client draws blocks it already has. It doesn't request or receive anything new.
ESP reveals entities like players and mobs through walls. XRay applies the same trick to blocks, revealing ore and other resources through terrain. Both work by changing local rendering rather than pulling in new data from the server.
Sometimes. Client-side integrity scans can catch known XRay hooks or modified rendering files, but a build made to dodge those checks is usually only caught through a review of mining patterns.