AntiXray ((Neo)Forge) Mod 1.19.1–26.3

MOD

AntiXray is a lightweight mod for (Neo)Forge, designed to help server owners address players using X-ray cheats. Its core function involves obscuring specific blocks from players, without affecting legitimate players under normal circumstances. The mod offers three distinct engine modes to achieve this. Engine Mode 1 replaces fully obscured blocks from a defined list of "hiddenBlocks" with blocks from "replacementBlocks." Engine Mode 2, which is recommended, replaces all blocks from both "hiddenBlocks" and "replacementBlocks" with random blocks chosen from "hiddenBlocks." Engine Mode 3, also recommended, operates similarly to Engine Mode 2 but is optimized for slower connections.

AntiXray is a lightweight mod for (Neo)Forge, designed to help server owners address players using X-ray cheats. Its core function involves obscuring specific blocks from players, without affecting legitimate players under normal circumstances. The mod offers three distinct engine modes to achieve this. Engine Mode 1 replaces fully obscured blocks from a defined list of "hiddenBlocks" with blocks from "replacementBlocks." Engine Mode 2, which is recommended, replaces all blocks from both "hiddenBlocks" and "replacementBlocks" with random blocks chosen from "hiddenBlocks." Engine Mode 3, also recommended, operates similarly to Engine Mode 2 but is optimized for slower connections.

Key configurable features include an 'enabled' setting to activate AntiXray in specified worlds, and an 'engineMode' setting to select between modes 1 and 2. 'maxBlockHeight' controls the maximum height for block obfuscation, while 'updateRadius' determines how far from shown blocks obfuscation should begin. The 'lavaObscures' option allows blocks next to lava to be obscured. Two essential lists, 'hiddenBlocks' and 'replacementBlocks,' specify block IDs for hiding and replacement, respectively. This mod is a port of Paper's Async Anti Xray Patch from versions 1.17 and 1.14.

AntiXray ((Neo)Forge) — AntiXray ((Neo)Forge) screenshots 1–2