
AntiXray (Fabric)
An elegant solution for protecting against dishonest players: the AntiXray (Fabric) mod allows server owners to effectively combat the use of X-ray clients.
Protection Modes
Engine Mode 1 hides completely surrounded treasures, replacing their contents with nearby stone types from the replacement list.
Engine Mode 2 (recommended) creates realistic chaos by mixing hidden treasures with random blocks from the hidden list - the end result looks natural and unpredictable.
Honest players won't notice the substitution.
Configuration Settings
Fine-tuning for your server:
[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
Activation: Enable protection in specified dimensions.
Engine Type: Modes 1 or 2 to control the masking method.
Upper Limit: Vertical boundary for block concealment.
Update Radius: Distance from exposed blocks where masking begins.
Lava Obscures: Near-lava blocks also get protection.
Hidden Blocks: World objects receiving protection.
Replacement Blocks: Materials for creating false appearances.
The original concept is implemented with maximum efficiency.