
CAntiXray
CAntiXray is a lightweight anti-xray mod for Fabric 1.20.1-1.20.6 and 26.1.x. It works on dedicated servers and in singleplayer worlds, hiding ores until they’re exposed so xray cheats are ineffective without requiring a client mod.
Screenshots

About this Mod
Description
CAntiXray is a lightweight anti-xray mod for Fabric 1.20.1-1.20.6 and 26.1.x. It works on dedicated servers and in client singleplayer worlds, obfuscates vanilla ores (including ancient debris) in chunk data, then reveals real blocks when they're actually exposed. This makes xray cheats ineffective while keeping gameplay natural.
Key Points
- Works on dedicated servers and in client singleplayer/integrated worlds.
- Players do not need the mod on the client in multiplayer.
- Configurable radius and block list.
- Supports overworld and nether ores, including ancient debris.
- Live chat commands:
/cantixray about,/cantixray logs, and/cantixray toggle.
Config
On first run it creates config/cantixray.json. You can edit:
enabled: toggle on/offrevealRadius: how close blocks must be to air/fluid to showtreatFluidsAsExposure: reveal near water/lavahiddenBlocks: list of blocks to obfuscate
Note:
/cantixray toggleupdates the config file immediately.
Notes
- Lightweight and focused on server performance.
- Available for Minecraft
1.20.1-1.20.6and26.1.x. - The changelog has already been updated for the tested
26.1.2support release.
Dependencies
| 1.20.1-1.20.6 | 26.1.x | |
|---|---|---|
| Fabric Loader | >=0.18.4 |
>=0.19.2 |
| Fabric API | 0.92.7+ |
0.147.0+26.1.2 |
| Minecraft | 1.20.1-1.20.6 |
26.1.2 |
| Java | 17 |
25 |
Available Versions
How to Install CAntiXray on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).
Install Mod
Open the mod browser in the dashboard and search for "CAntiXray". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.1.2, 26.1.1, 26.1 (+6 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
CAntiXray server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.
Is CAntiXray compatible with fabric?
CAntiXray officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with CAntiXray – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CAntiXray consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install CAntiXray with just one click on your server.