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.

TRtrolPublished 5 min read

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.

  1. Chunk loads with full data

    Server sends all blocks in the chunk, including ore buried deep.

  2. Client normally renders only surfaces

    Vanilla rendering hides internal blocks behind the outer shell.

  3. XRay breaks that rule

    It renders ore blocks regardless of what's covering them.

  4. 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 ModuleWhat it revealsDetection methodServer risk
XRayOre through terrainMining patterns, client scanHigh
ESPPlayers/mobs through wallsMovement patterns, client scanHigh
CoordinatesPlayer positionNone, display-onlyNone
World TimeIn-game clockNone, display-onlyNone

The safe end is display modules that show information already in vanilla. The dangerous end is rendering changes that give an unfair edge.

FAQ