Mod

AntiXray

Quick rating

AntiXray

No reviews yet

A lightweight mod that allows server owners to combat xrayers.

No Theme
No Genre
Server Utility
Mod Loaders
Forge
NeoForge
Fabric
Quilt
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.4.8+1.21.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

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 blocks from replacementBlocks
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

Screenshots

Gallery

  • Engine Mode 2
    Engine Mode 2 This mode will replace all blocks from hiddenBlocks and replacementBlocks with random blocks from hiddenBlocks
  • AntiXray Disabled
    AntiXray Disabled This is just for reference
  • Engine Mode 1
    Engine Mode 1 This mode will replace all fully obscured (no air around) blocks from hiddenBlocks with blocks from replacementBlocks
  • Engine Mode 3
    Engine Mode 3 Works very similar to engine mode 2, but works better with slow connections

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~530,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync