Source-checkedGameplay & overhauls

AntiXray

by DrexHD · for Minecraft

A lightweight mod that allows server owners to combat xrayers.

616KDownloads
18d agoLast updated
MITLicense
Fabric · Forge +2Loaders

About AntiXray

From Modrinth

A lightweight mod that allows server owners to combat xrayers.

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

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

Highlights

From source data

Game versions

Supports 57 Minecraft versions, the newest being 26.3.

Loaders

Runs on Fabric, Forge, NeoForge and Quilt.

Footprint

Rated a light load on a server.

AntiXray on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Fabric, Forge, NeoForge, Quilt
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
neoforge-1.4.17+26.3, released 2026-10-16

Game versions by loader

LoaderGame versionsNewest
Fabric1.21.1 to 26.3 (7 versions)26.3
Quilt1.21.1 to 26.3 (7 versions)26.3
NeoForge1.21.1 to 26.3 (6 versions)26.3

From 9 recorded builds of AntiXray.

Recent builds

BuildReleasedGame versionsLoaders
neoforge-1.4.17+26.32026-10-1626.3NeoForge
neoforge-1.4.17+26.1.22026-10-1626.1 to 26.2 (4 versions)NeoForge
fabric-1.4.17+26.32026-10-1626.3Fabric, Quilt
fabric-1.4.17+26.1.22026-10-1626.1 to 26.2 (4 versions)Fabric, Quilt
neoforge-1.4.16+26.32026-09-1926.3NeoForge
fabric-1.4.16+26.32026-09-1926.3Fabric, Quilt

Run AntiXray on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Runs on your server

From source side support

Modrinth lists AntiXray as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForgeQuilt
Runs on
Serverrequired on the server
Game versions
26.3 and 56 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-17Open ↗
  • ✓AuthorDrexHD, as published on Modrinth
  • ✓LicenseMITFree

AntiXray, answered

Generated from the mod’s own source data.

Do my players need to install AntiXray?

Modrinth lists AntiXray as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge, NeoForge and Quilt.

Is it free?

Yes. AntiXray is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run AntiXray on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add AntiXray in one click.