AntiXray
by DrexHD
With AntiXray installed on a server, world blocks near the player's view are replaced with fake ore-like blocks until they are close enough to be seen as real.
What it does
The mod runs on the server only and hides ores from players who inspect the world for them. Its settings are set per world, and a world can be left out entirely. The config file offers three engine modes that control which blocks are hidden and which are used as fake blocks, a maximum height for obfuscation, and an update radius that sets how far from visible blocks obfuscation begins.
Blocks and block tags can be listed in the config, and entries prefixed with an exclamation mark are removed from the list, with rules applied from left to right. Custom dimensions are configured by their dimension id. The author notes that legitimate players will not notice a change unless they have high ping or many blocks change at once, such as during explosions. AntiXray is a port of Paper's anti-xray patch to Fabric, Forge, NeoForge and Quilt.
Key features
Three engine modes
Engine mode 1 hides listed blocks, while modes 2 and 3 use listed blocks as fake replacements for obfuscated ones.
Height limit
A maxBlockHeight setting limits how high in the world obfuscation is applied.
Update radius
The updateRadius setting controls how many blocks away from visible blocks obfuscation starts, which can be raised if fake ores are seen.
Lava obscuring
An option obscures blocks next to lava so their positions are harder to read.
Per-world control
Each world can be enabled or disabled, and custom dimensions are configured by id.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x1 of 1 version with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Use cases
Protecting ore on public servers
Server owners who run survival worlds can hide ores from players who scan the map for them.
Handling particle-heavy ores
Ores tagged to be hidden without being used as fake ores avoid effects or sounds that could cause problems.
Who it’s for: The mod suits server owners who run survival or multiplayer worlds and want to reduce ore scanning. Players only need it if they join a server that runs it, since it has no client part.
Questions
Does AntiXray have to be installed on the client?
Which loaders does AntiXray support?
Can fake ores appear close to players?
In the catalog
AntiXray is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 8,071 mods support Minecraft 26.3.
More from DrexHD
Similar mods
What the author says
Anti Xray is a lightweight fabric mod that allows server owners to combat xrayers. enabled if set to true anti xray will be active in the specified world
Official listing
- Modrinth page
- modrinth.com/mod/anti-xray
- Owner
- DrexHD
- Published
- 2021-08-10
- Updated on Modrinth
- 2026-09-19
- Facts verified
- 2026-10-15