CAntiXray
Few things ruin a survival server faster than a player with xray cheats. They strip-mine straight to diamond, gut ancient debris deposits in the nether, and leave honest players wondering why every cave feels picked clean. CAntiXray is a lightweight Fabric mod built to shut that down without punishing legitimate gameplay. Instead of banning players or scrambling to patch every exploit, it changes what cheaters can actually see.
How CAntiXray Defeats Xray Cheats
The core idea is simple but effective. CAntiXray obfuscates vanilla ores in the chunk data that gets sent to clients, including ancient debris in the nether. When a block is genuinely exposed to air or fluid, the mod reveals the real block. Until then, cheaters scanning chunk data see nothing useful. Legitimate players mining normally notice no difference at all, because the ores they uncover appear exactly when they should.
This approach makes xray cheats ineffective by design. There is no client-side trick to bypass, no packet to spoof. The server simply never sends accurate ore data until the block is actually exposed, so the information a cheat would rely on is not there in the first place.
Server and Singleplayer Support
CAntiXray works on dedicated servers and in client singleplayer or integrated worlds. In multiplayer, players do not need the mod installed on their client at all. That makes it painless to roll out on an existing server: install it server-side, configure it once, and everyone is protected immediately.
Supported Versions and Loaders
CAntiXray is available for Minecraft 1.20.1 through 1.20.6, as well as the 26.1.x line, with the changelog already updated for the tested 26.1.2 support release. It runs on Fabric, so you will need Fabric Loader and Fabric API. The exact dependency requirements are:
- Minecraft 1.20.1-1.20.6: Fabric Loader 0.18.4 or newer, Fabric API 0.92.7 or newer, Java 17
- Minecraft 26.1.x: Fabric Loader 0.19.2 or newer, Fabric API 0.147.0+26.1.2 or newer, Java 25
If you are running a mixed network, keep an eye on which loader and Java version each instance needs, since the 26.1.x branch moves to Java 25.
Configuration and Commands
On first run, CAntiXray creates config/cantixray.json. The file is short and readable, and you can edit it directly:
- enabled - toggles the mod on or off
- revealRadius - how close a block must be to air or fluid before it is shown
- treatFluidsAsExposure - reveals ores near water or lava
- hiddenBlocks - the list of blocks to obfuscate
Live chat commands let you manage things without touching the file: /cantixray about, /cantixray logs, and /cantixray toggle. The toggle command writes to the config file immediately, so changes stick across restarts.
If you would rather skip manual setup entirely, the foxygame.net launcher is worth a look. Its add-on catalog lets you add CAntiXray to a Fabric profile in a single click, and it keeps the mod updated automatically so you never miss a compatibility fix.
Why Server Owners Choose It
Performance matters when you are running a busy world, and CAntiXray stays lightweight and focused on server efficiency. It supports both overworld and nether ores, so ancient debris is covered alongside diamond, emerald, and the rest. Because the mod only reveals blocks when they are genuinely exposed, the gameplay experience stays natural for everyone who plays fair.
Getting Started
To download CAntiXray for Minecraft, grab the build that matches your game version from the project page, drop it into your mods folder alongside Fabric API, and start the server or world once to generate the config. From there, tune the reveal radius and block list to suit your world, or just leave the defaults and let the mod do its job.
For any server struggling with xray cheats, CAntiXray offers a clean, low-maintenance answer. It hides what cheaters want, reveals what players earn, and stays out of the way the rest of the time.