{"id":15955,"date":"2026-05-31T21:44:07","date_gmt":"2026-05-31T18:44:07","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/"},"modified":"2026-05-31T21:44:07","modified_gmt":"2026-05-31T18:44:07","slug":"anti-xray","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/","title":{"rendered":"AntiXray"},"content":{"rendered":"<p># Anti Xray<\/p>\n<p>Anti Xray is a lightweight fabric mod that allows server owners to combat xrayers.<\/p>\n<p>## Config<\/p>\n<p>&#8220;`toml<br \/>\n# Default values<br \/>\nenabled = false<\/p>\n<p># World specific values<br \/>\n[overworld]<br \/>\nenabled = true<br \/>\nengineMode = 3<br \/>\nmaxBlockHeight = 256<br \/>\nupdateRadius = 2<br \/>\nlavaObscures = false<br \/>\nhiddenBlocks = [&#8220;#c:ores&#8221;, &#8220;raw_copper_block&#8221;, &#8220;raw_iron_block&#8221;, &#8220;raw_gold_block&#8221;, &#8220;!#antixray:hidden_only_ores&#8221;]<br \/>\nreplacementBlocks = [&#8220;#antixray:hidden_only_ores&#8221;, &#8220;stone&#8221;, &#8220;deepslate&#8221;, &#8220;andesite&#8221;, &#8220;calcite&#8221;, &#8220;diorite&#8221;, &#8220;dirt&#8221;, &#8220;granite&#8221;, &#8220;gravel&#8221;, &#8220;sand&#8221;, &#8220;tuff&#8221;, &#8220;mossy_cobblestone&#8221;, &#8220;obsidian&#8221;, &#8220;clay&#8221;, &#8220;infested_stone&#8221;, &#8220;amethyst_block&#8221;, &#8220;budding_amethyst&#8221;, &#8220;chest&#8221;]<\/p>\n<p>[the_nether]<br \/>\nenabled = true<br \/>\nengineMode = 1<br \/>\nmaxBlockHeight = 128<br \/>\nupdateRadius = 2<br \/>\nlavaObscures = true<br \/>\nhiddenBlocks = [&#8220;ancient_debris&#8221;, &#8220;nether_quartz_ore&#8221;, &#8220;nether_gold_ore&#8221;, &#8220;gold_block&#8221;, &#8220;gilded_blackstone&#8221;]<br \/>\n&#8220;`<\/p>\n<p>### Config option overview<\/p>\n<p>`enabled` if set to true anti xray will be active in the specified world<\/p>\n<p>`engineMode` can either be 1, 2 or 3 see [Engine Modes](#Engine Modes)<\/p>\n<p>`maxBlockHeight` controls the max height at which blocks should get obfuscated<\/p>\n<p>`updateRadius` controls how many blocks away from shown blocks obfuscation should start (if your players see fake ores<br \/>\nit is recommended to increase this value)<\/p>\n<p>`lavaObscures` if set to true blocks next to lava will get obscured<\/p>\n<p>`hiddenBlocks` a list of blocks to hide *(Engine mode 1)* or a list of blocks to use for obfuscation *(Engine mode 2\/3)*<\/p>\n<p>`replacementBlocks` is a list of blocks that will be obfuscated, but not used as fake blocks *(Engine mode 2\/3 only)*<\/p>\n<p>*Blocks \/ block tags can be prefixed `!` to remove them from the block list.<br \/>\nThe rules are applied from left to right, removals should be specified after additions. **(since 1.4.10)***<\/p>\n<p>### Engine Modes<\/p>\n<p>| Info | Image |<br \/>\n:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-:|:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-:<br \/>\n**Anti xray disabled:** This is just for reference |  ![](https:\/\/github.com\/DrexHD\/AntiXray\/blob\/31b09b653c13d41adfc7572af1baf3c4221eb979\/media\/disabled.png?raw=true)<br \/>\n**EngineMode 1:** This mode will replace all fully obscured (no air around) blocks from `hiddenBlocks` with blocks from `replacementBlocks` |  ![](https:\/\/github.com\/DrexHD\/AntiXray\/blob\/31b09b653c13d41adfc7572af1baf3c4221eb979\/media\/enginemode-1.png?raw=true)<br \/>\n**EngineMode 2:** This mode will replace all blocks from `hiddenBlocks` and `replacementBlocks` with random blocks from `hiddenBlocks` |  ![](https:\/\/github.com\/DrexHD\/AntiXray\/blob\/31b09b653c13d41adfc7572af1baf3c4221eb979\/media\/enginemode-2.png?raw=true)<br \/>\n**EngineMode 3 (recommended):** Works very similar to engine mode 2, but works better with slow connections |  ![](https:\/\/github.com\/DrexHD\/AntiXray\/blob\/31b09b653c13d41adfc7572af1baf3c4221eb979\/media\/enginemode-3.png?raw=true)<\/p>\n<p>**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)<\/p>\n<p>### Custom Dimensions<\/p>\n<p>To configure antixray in custom dimensions, specify the dimension id like this: `[&#8220;custom:cool_world&#8221;]`<\/p>\n<p>## Mod Developers<\/p>\n<p>Ore blocks added to the `#antixray:hidden_only_ores` block tag will be hidden from the world, but not used as fake ore.<br \/>\nThis can be useful if your ore has effects, such as particles or sounds, that could cause problems. **(since 1.4.10)**<\/p>\n<p>## About<\/p>\n<p>This mod is a port of Papers Async Anti Xray Patch from 1.17 and it&#8217;s 1.14 patch for networking code, to fabric and forge<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A lightweight mod that allows server owners to combat xrayers.<\/p>\n","protected":false},"featured_media":15956,"template":"","meta":{"_minecraft_slug":"anti-xray","_minecraft_project_id":"sml2FMaA","_minecraft_author":"DrexHD","_minecraft_license":"MIT","_minecraft_downloads":469256,"_minecraft_follows":643,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"anti-xray.zip","_minecraft_size_bytes":14429233,"_minecraft_version_count":120,"_minecraft_updated_at":"2026-05-16T17:09:35.529634Z","_minecraft_date_created":"2021-08-10T16:37:08.593052Z","_minecraft_date_modified":"2026-04-24T20:09:24.990723Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/anti-xray","_minecraft_icon_attachment_id":15956,"_minecraft_imported_at":"2026-05-31T18:44:08+00:00","_minecraft_import_hash":"85a23e7dadaaa578246cae118e208d61","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[97,104,126,158,98,123,92,159],"mod_loader":[99,106,160,100],"minecraft_version":[48,49,50,51,52,53,54,650,651,652,653,55,56,57,58,59,36,60,93,94,101,102,62,37,40,41,814,73,750,74,38,78,768,770,771,79,784,80,81,82,639,640,641,643,644,645,646,647,648,649,83,830,167,163],"class_list":["post-15955","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-fabric","mod_category-forge","mod_category-management","mod_category-neoforge","mod_category-quilt","mod_category-technology","mod_category-utility","mod_category-worldgen","mod_loader-fabric","mod_loader-forge","mod_loader-neoforge","mod_loader-quilt","minecraft_version-1-16-5","minecraft_version-1-17","minecraft_version-1-17-1","minecraft_version-1-18","minecraft_version-1-18-1","minecraft_version-1-18-2","minecraft_version-1-19","minecraft_version-1-19-pre1","minecraft_version-1-19-pre2","minecraft_version-1-19-pre3","minecraft_version-1-19-pre4","minecraft_version-1-19-1","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-11-rc2","minecraft_version-1-21-2","minecraft_version-1-21-2-rc2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-5-pre2","minecraft_version-1-21-5-rc1","minecraft_version-1-21-5-rc2","minecraft_version-1-21-6","minecraft_version-1-21-6-rc1","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-22w11a","minecraft_version-22w12a","minecraft_version-22w13a","minecraft_version-22w14a","minecraft_version-22w15a","minecraft_version-22w16a","minecraft_version-22w16b","minecraft_version-22w17a","minecraft_version-22w18a","minecraft_version-22w19a","minecraft_version-26-1","minecraft_version-26-1-rc-1","minecraft_version-26-1-1","minecraft_version-26-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AntiXray - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AntiXray - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A lightweight mod that allows server owners to combat xrayers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/\",\"name\":\"AntiXray - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-xray-icon-icon.png\",\"datePublished\":\"2026-05-31T18:44:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-xray-icon-icon.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-xray-icon-icon.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-xray\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AntiXray\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AntiXray - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/","og_locale":"en_US","og_type":"article","og_title":"AntiXray - Minecraft","og_description":"A lightweight mod that allows server owners to combat xrayers.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/","name":"AntiXray - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-xray-icon-icon.png","datePublished":"2026-05-31T18:44:07+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-xray-icon-icon.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-xray-icon-icon.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-xray\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"AntiXray"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/15955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/15956"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=15955"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=15955"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=15955"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=15955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}