Features:
- Lightweight anti xray protection for server owners
- Three engine modes, with mode 3 recommended for slow connections
- Per-world settings for the Overworld, the Nether and custom dimensions
- Configurable list of hidden blocks and replacement blocks
- Supports block tags and removal rules with a ! prefix
- Max block height and update radius options
- Optional obfuscation of blocks next to lava
- Block tag for ores that are hidden but never used as fake ore
- Legit players do not notice any changes in normal play
- NeoForge support
- For Minecraft 1.21.8
- Made by DrexHD
AntiXray is a lightweight server-side mod that helps server owners stop players using xray to find ores. It hides valuable blocks behind fake ones so cheaters see a world full of false ores, while legit players notice no difference unless they have high ping or change many blocks at once, for example with explosions.
Three engine modes are available. Mode 1 replaces fully enclosed hidden blocks with replacement blocks, mode 2 swaps hidden and replacement blocks for random ores, and mode 3 works much like mode 2 but performs better on slow connections, which makes it the recommended choice.
Everything is configured per world, with separate settings for the Overworld, the Nether and custom dimensions. You can set the maximum obfuscation height, the update radius, whether lava obscures nearby blocks, and which blocks or block tags are hidden, with a ! prefix to remove entries.
Mod developers can add their ores to a dedicated block tag so they are hidden from the world but never used as fake ore, which avoids problems with ores that emit particles or sounds. The mod is a port of an established server anti xray patch.