HomeJavaModsCAntiXray
CAntiXray
ModsJava

CAntiXray

by Chosentechies · on Modrinth

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…

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.1.2⬇ Download for 1.20.1–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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

Config

On first run it creates config/cantixray.json. You can edit:

Note: /cantixray toggle updates the config file immediately.

Notes

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
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more