Occlude
适用于 Paper 和 Folia 1.21.1+ 的光线追踪反透视(anti-xray)与反 ESP 插件。
Paper 内置的反透视功能仅隐藏完全被埋藏的矿石,因此任何与洞穴接触的矿石仍会对透视玩家可见。Occlude 会隐藏玩家视线范围内的所有已配置方块,并在其进入视野的瞬间将其显示出来。
功能特性
- 矿石隐藏:除非从玩家眼睛位置可见,否则予以隐藏。被埋藏的矿石永远不会发送给客户端。
- 假矿脉:在实心岩石内部生成不规则的诱饵矿脉,每种矿石具有符合现实的高度分布。当有人在其附近挖掘时,它们会消失。
- 实体剔除:位于墙壁后的实体将从客户端移除,使 ESP 和追踪器无法看到任何内容。由于姓名标签始终穿透墙壁显示,玩家仅在潜行状态下才会被剔除。
- 方块实体剔除:箱子、刷怪笼、告示牌及其他方块实体在被视为空气发送(包括其 NBT 数据),直到它们变得可见为止。
- 自定义方块支持:支持 ItemsAdder 和 Nexo ID,或任意精确的方块状态。
- 按世界配置:每个世界拥有独立的配置文件,为主世界、下界和末地提供合理的默认设置。
- 游戏内菜单:无需修改文件即可切换当前世界的各项功能。
依赖要求
请在 Occlude 所管理的世界中禁用 Paper 自带的反透视功能。
命令
| 命令 |
权限节点 |
描述 |
/occlude (/antixray) |
occlude.command |
当前世界的设置菜单 |
/occlude toggle |
occlude.command.toggle |
个人透视绕过开关 |
/occlude reload |
occlude.command.reload |
重新加载所有配置文件 |
工作原理
在向玩家发送每个区块之前,系统会对其进行扫描。已配置的方块会被替换为石头、深板岩或下界岩,并在实心岩石中添加假矿脉。工作线程随后从玩家眼睛位置向每个被隐藏的方块和受跟踪实体发射光线,仅揭示实际可见的部分。当玩家静止不动且周围环境未发生变化时,光线追踪过程将被跳过。
相关链接
源代码、配置参考及问题反馈:GitHub
Occlude
Ray traced anti-xray and anti-ESP for Paper and Folia 1.21.1+.
Paper's built-in anti-xray only hides ores that are fully buried, so every ore touching a cave stays visible to x-ray. Occlude hides every configured block the player has no line of sight to and reveals it the moment it comes into view.
Features
- Ores: hidden unless visible from the player's eye. Buried ores are never sent to the client.
- Fake ores: irregular decoy veins inside solid rock, with realistic height distributions per ore. They vanish when someone mines near them.
- Entity culling: entities behind walls are removed from the client, so ESP and tracers see nothing. Players are only culled while sneaking, since name tags show through walls anyway.
- Tile culling: chests, spawners, signs and other block entities are sent as air, along with their NBT, until visible.
- Custom blocks: ItemsAdder and Nexo ids, or any exact block state.
- Per-world config: each world gets its own file, with sensible defaults for the overworld, nether and end.
- In-game menu: toggle features for the current world without touching a file.
Requirements
Disable Paper's own anti-xray in the worlds Occlude handles.
Commands
| Command |
Permission |
Description |
/occlude (/antixray) |
occlude.command |
Settings menu for the current world |
/occlude toggle |
occlude.command.toggle |
Personal x-ray bypass |
/occlude reload |
occlude.command.reload |
Reload all configs |
How it works
Each outgoing chunk is scanned before it reaches the player. Configured blocks are swapped for stone, deepslate or netherrack, and fake veins are added in solid rock. Worker threads then trace rays from the player's eye to every hidden block and tracked entity, and reveal only what is actually in view. Tracing is skipped while the player stands still and nothing around them changes.
Links
Source, config reference and issues: GitHub
评论 0
登录后参与评分
还没有评论,来抢沙发吧