
AntiXray ((Neo)Forge)
AntiXray is an effective solution for protecting Minecraft servers from unfair players using programs to view hidden resources. This lightweight mod offers several operating modes that hide valuable blocks from dishonest users.
Anti-Xray Operation Modes
Disabled Anti-Xray: Mode for visual comparison
Mode 1: Completely hidden blocks (surrounded by other blocks) are replaced with materials from the replacement list
Mode 2 (Primary): All hidden blocks are mixed with replacement blocks to create random distribution
Legitimate Player View: Regular users won't notice the mod's presence, except in cases of high latency or mass block destruction
Configuration Setup
[overworld] \ enabled = true \ engineMode = 2 \ maxBlockHeight = 256 \ updateRadius = 2 \ lavaObscures = false \ hiddenBlocks = ["copper_ore", "deepslate_copper_ore", "gold_ore", "deepslate_gold_ore", "iron_ore", "deepslate_iron_ore", "coal_ore", "deepslate_coal_ore", "lapis_ore", "deepslate_lapis_ore", "mossy_cobblestone", "obsidian", "chest", "diamond_ore", "deepslate_diamond_ore", "redstone_ore", "deepslate_redstone_ore", "clay", "emerald_ore", "deepslate_emerald_ore", "ender_chest"] \ replacementBlocks = ["stone", "deepslate"]
The Nether\ enabled = true \ engineMode = 1 \ maxBlockHeight = 128 \ updateRadius = 2 \ lavaObscures = false \ hiddenBlocks = ["ancient_debris", "nether_quartz_ore", "nether_gold_ore"] \ replacementBlocks = ["netherrack"]
The End\ enabled = false
Configuration Options Overview
enabled - activates anti-xray in the specified dimension\ engineMode - can be either 1 or 2, see "Operation Modes" section\ maxBlockHeight - limits the maximum height for block hiding application\ updateRadius - determines the distance from visible blocks where hiding starts (increase this value when false ores appear)\ lavaObscures - if set to true, blocks near lava will be hidden\ hiddenBlocks - block identifiers for hiding from dishonest players\ replacementBlocks - materials used to replace valuable resources when hiding is active