Back to mods
CAntiXray project artwork

Modrinth · Minecraft mod

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which CAntiXray release should I use?

Updated 6 months ago
Latest stable file 1.0.2
Game version 1.20.1, 1.20.2, 1.20.3
Loader Fabric

CAntiXray 1.0.2 targets 1.20.1, 1.20.2, 1.20.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is CAntiXray required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does CAntiXray 1.0.2 need?

1.0.2. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add CAntiXray without breaking your instance.

Built for CAntiXray 1.0.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.2. It targets 1.20.1, 1.20.2, 1.20.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.2. It opens that exact file at the source.

About this project

What does CAntiXray add?

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/off
  • revealRadius: how close blocks must be to air/fluid to show
  • treatFluidsAsExposure: reveal near water/lava
  • hiddenBlocks: list of blocks to obfuscate

Note: /cantixray toggle updates the config file immediately.

Notes

  • Lightweight and focused on server performance.
  • Available for Minecraft 1.20.1-1.20.6 and 26.1.x.
  • The changelog has already been updated for the tested 26.1.2 support 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

Project description from Modrinth.

Pick your setup

CAntiXray by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

9 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

CAntiXray versions and loaders

7 of 7 releases match

Looking for an older file? The official Modrinth project page is in Resources.