AntiXray ((Neo)Forge)
Modby drexhd
Lightweight forge mod that allows server owners to combat xrayers
Type
Mod
CurseForge Downloads
383,696
CurseForge ID
560511
Last Updated
Apr 13, 2026
Description
AntiXray
Anti Xray is a lightweight (neo)forge (Go here for the fabric version) mod that allows server owners to combat xrayers.
Engine Modes
Anti xray disabled: This is just for reference

EngineMode 1: This mode will replace all fully obscured (no air around) blocks from hiddenBlocks with blocks from replacementBlocks

EngineMode 2 (recommended): 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)

Config option overview
enabled if set to true anti xray will be active in the specified world
engineMode can either be 1 or 2, see 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 is a list of block ids that will get hidden
replacementBlocks is a list of blocks that will get used for block obfuscation
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 forge
Similar Mods
Client Tweaks (Outdated Versions)
There, I fixed Minecraft for you. Various optional tweaks to improve Minecraft Quality of Life.
Ars Scalaes
Addon that bridges Ars Nouveau with other mods like Identity, Pehkui, Scaling Health, PMMO or Malum. Also adds Stairs/Sl...
Icarus
Adds a bunch of colourful and unique wings that can be worn in the Trinkets/Curios Cape slot.
NaNny Reforked
Fork of the mod NaNny for MC Eternal 2 that adds emergency replacement damage in place of NaN values
Puzzles Lib [Legacy Fabric]
Why's it called Puzzles you ask? That's the puzzle!
ArtemisLib
A modding library that lets modders resize entities without coremodding.