Anti Xray
Anti Xray 是一款轻量级的 Fabric 模组,允许服务器管理员对抗使用透视作弊的玩家。
配置文件
# 默认值
enabled = false
# 世界特定值
[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"]
配置选项概览
enabled 如果设置为 true,则在指定世界中启用 Anti Xray
engineMode 可以是 1、2 或 3,请参阅 引擎模式
maxBlockHeight 控制应进行混淆的最高方块高度
updateRadius 控制从可见方块开始进行混淆的距离(如果你的玩家看到假矿石,建议增加此值)
lavaObscures 如果设置为 true,则岩浆旁边的方块将被遮蔽
hiddenBlocks 要隐藏的方块列表 (引擎模式 1) 或用于混淆的方块列表 (引擎模式 2/3)
replacementBlocks 是将被混淆但不用作假方块的方块列表 (仅限引擎模式 2/3)
*方块 / 方块标签可以前缀 ! 以将其从方块列表中移除。
规则从左到右应用,移除操作应在添加操作之后指定。(自 1.4.10 起)
引擎模式
| 信息 | 图片 |
|---|---|
| Anti Xray 已禁用: 仅供参考 | ![]() |
EngineMode 1: 此模式会将 hiddenBlocks 中所有完全被遮蔽(周围无空气)的方块替换为其他假方块,根据维度不同分别为 stone(y < 0 时为 deepslate)、netherrack 或 end_stone。 |
![]() |
EngineMode 2: 此模式会将 hiddenBlocks 和 replacementBlocks 中的所有方块替换为 hiddenBlocks 中的随机方块 |
![]() |
| EngineMode 3(推荐): 工作原理与引擎模式 2 非常相似,但在慢速连接下表现更好 | ![]() |
正常玩家视角: 安装此模组后,正常玩家不会注意到任何变化(除非他们延迟较高或同时修改大量方块,例如爆炸)
自定义维度
要在自定义维度中配置 antixray,请按以下方式指定维度 ID:["custom:cool_world"]
模组开发者
添加到 #antixray:hidden_only_ores 方块标签中的矿石方块将从世界中隐藏,但不会用作假矿石。
如果你的矿石具有可能导致问题的效果(如粒子或声音),这可能很有用。(自 1.4.10 起)
关于
此模组是将 Paper 的 Async Anti Xray Patch(来自 1.17)及其针对网络代码的 1.14 补丁 移植到 Fabric 和 Forge
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 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
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
下载 AntiXray
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 AntiXray
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
修复
- 缺失的调色板条目
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!




评论 0
登录后参与评分
还没有评论,来抢沙发吧