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.
/cantixray about, /cantixray logs, and /cantixray toggle.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 obfuscateNote:
/cantixray toggleupdates the config file immediately.
1.20.1-1.20.6 and 26.1.x.26.1.2 support release.| 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 |