
Modrinth · Fabric, Forge, NeoForge, Quilt
AntiXray on your Minecraft server
AntiXray runs on Minecraft servers with Fabric or Forge or NeoForge or Quilt. Order your server, set the loader in the panel and install the mod with one click in the mod browser.
A lightweight mod that allows server owners to combat xrayers.
- Downloads
- 634.7K
- Author
- DrexHD
- Loader
- Fabric, Forge, NeoForge, Quilt
- Minecraft
- 1.16.5 – 26.3
- Updated
- –
Screenshots
What AntiXray looks like
Images: AntiXray on Modrinth, published by the project team.
Setup
Install AntiXray on your server
The server and players need the same loader and Minecraft version. Back up the world before adding or updating mods.
- 01
Configure
4 GB of RAM is preselected. You choose the term and add-ons and pay by credit card or PayPal.
- 02
Set the loader
In the panel, set the server software to Fabric or Forge or NeoForge or Quilt and choose the matching Minecraft version, for example 26.3.
- 03
Install the mod
Search the mod browser for “AntiXray” and install the release for your loader. Alternatively, upload the .jar to the mods folder via SFTP. Required dependencies are listed on the project page.
- 04
Connect
AntiXray is not needed on the client. Players connect using the server address from the panel.
- On the server
- Required
- On the client
- Not needed
- Loader
- Fabric, Forge, NeoForge, Quilt
- Minecraft
- 26.3, 26.2-rc-2, 26.2 +54 more
- License
- MIT License
The panel
Install mods, find errors.
Real screenshots from the Mado panel. Both come with every Minecraft server.
Mod browser
Modrinth and CurseForge, right in the panel.
The browser filters by your Minecraft version. Install mods with one click, without uploading .jar files.

AI crash analysis
When a mod crashes, the analyzer reads the log.
Mods often fail on a wrong loader version, Java version or missing dependency. The analyzer names a likely cause and suggests a fix.

Releases
Published releases
Pick the file that matches your server’s loader and Minecraft version. The server and players need the same release.
AntiXray · Modrinth- AntiXray neoforge-1.4.17+26.3October 16, 2026Minecraft 26.3 · NeoForge
- AntiXray neoforge-1.4.17+26.1.2October 16, 2026Minecraft 26.1, 26.1.1, 26.1.2, 26.2 · NeoForge
- AntiXray fabric-1.4.17+26.3October 16, 2026Minecraft 26.3 · Fabric, Quilt
- AntiXray fabric-1.4.17+26.1.2October 16, 2026Minecraft 26.1, 26.1.1, 26.1.2, 26.2 · Fabric, Quilt
- AntiXray NeoForge 1.4.8+1.21.1April 24, 2026Minecraft 1.21.1 · NeoForge
Original description by the project author
Anti Xray
Anti Xray is a lightweight fabric mod that allows server owners to combat xrayers.
Config
# Default values
enabled = false
# World specific values
[overworld]
enabled = true
engineMode = 3
maxBlockHeight = 256
updateRadius = 2
lavaObscures = false
hiddenBlocks = ["#c:ores", "raw_copper_block", "raw_iron_block", "raw_gold_block", "!#antixray:hidden_only_ores"]
replacementBlocks = ["#antixray:hidden_only_ores", "stone", "deepslate", "andesite", "calcite", "diorite", "dirt", "granite", "gravel", "sand", "tuff", "mossy_cobblestone", "obsidian", "clay", "infested_stone", "amethyst_block", "budding_amethyst", "chest"]
[the_nether]
enabled = true
engineMode = 1
maxBlockHeight = 128
updateRadius = 2
lavaObscures = true
hiddenBlocks = ["ancient_debris", "nether_quartz_ore", "nether_gold_ore", "gold_block", "gilded_blackstone"]
Config option overview
enabled if set to true anti xray will be active in the specified world
engineMode can either be 1, 2 or 3 see [Engine Modes](#Engine Modes)
maxBlockHeight controls the max height at which blocks should get obfuscated
updateRadius controls how many blocks away from shown blocks obfuscation should start (if your players see fake ores
it is recommended to increase this value)
lavaObscures if set to true blocks next to lava will get obscured
hiddenBlocks a list of blocks to hide (Engine mode 1) or a list of blocks to use for obfuscation (Engine mode 2/3)
replacementBlocks is a list of blocks that will be obfuscated, but not used as fake blocks (Engine mode 2/3 only)
Blocks / block tags can be prefixed ! to remove them from the block list.
The rules are applied from left to right, removals should be specified after additions. (since 1.4.10)
Engine Modes
| Info | Image |
|---|---|
| Anti xray disabled: This is just for reference | ![]() |
EngineMode 1: This mode will replace all fully obscured (no air around) blocks from hiddenBlocks with other fake blocks, stone (deepslate at y < 0), netherrack, or end_stone based on the dimension. |
![]() |
EngineMode 2: This mode will replace all blocks from hiddenBlocks and replacementBlocks with random blocks from hiddenBlocks |
![]() |
| EngineMode 3 (recommended): Works very similar to engine mode 2, but works better with slow connections | ![]() |
Legit player view: Legit players wont notice any changes when this mod is installed (unless they have high ping or modify a lot of blocks at once, eg: explosions)
Custom Dimensions
To configure antixray in custom dimensions, specify the dimension id like this: ["custom:cool_world"]
Mod Developers
Ore blocks added to the #antixray:hidden_only_ores block tag will be hidden from the world, but not used as fake ore.
This can be useful if your ore has effects, such as particles or sounds, that could cause problems. (since 1.4.10)
About
This mod is a port of Papers Async Anti Xray Patch from 1.17 and it's 1.14 patch for networking code, to fabric and forge
AntiXray server crashes on startup – what to do?
Common causes: the loader or Minecraft version does not match the mod file, a dependency is missing, or RAM is too low. Check the log (latest.log) for “OutOfMemoryError”, “Mixin” or missing mods. At Mado, the AI crash analysis reads the log and suggests a cause. You can change the loader and version in the panel.
Which loader does AntiXray run on?
According to Modrinth, AntiXray supports Fabric, Forge, NeoForge, Quilt for Minecraft 26.3, 26.2-rc-2, 26.2. Forge and Fabric files are not interchangeable: pick one loader for the server and clients.
How much RAM does a server with AntiXray need?
As guidance, 3–4 GB for a server with this mod. This is an estimate, not a measured minimum. More mods, many players and long view distances need more. The spark profiler shows whether a mod is costing tick time.
Similar mods
Popular mods in the same category
Server-ready
YetAnotherConfigLib (YACL)
by isxander
A builder-based configuration library for Minecraft!
Server-ready
Text Placeholder API
by Patbox
Placeholder and Text manipulation library for your Minecraft mods.
Client only
Dynamic FPS
by juliand665
Reduce resource usage while Minecraft is in the background, idle, or on battery.
Server-ready
No Chat Reports
by Aizistral
Makes chat unreportable (where possible)
Ready for your server with AntiXray?
4 GB of RAM from €8.00 per month. 35% off your first month with MADO35.





