

Minecraft 会跳过渲染你身后的东西,那为什么它还要渲染那些因为墙壁或天花板挡着而依旧看不见的东西呢?
这个模组引入了异步路径追踪,以高效地判断玩家实际能看到什么。它利用其他可用的 CPU 核心,实时计算视线可见性,并消除对隐藏的方块实体和实体的不必要绘制调用/处理。
根据实体数量以及你在世界中的位置,这可以大幅提升帧率。


异步路径追踪
- 利用空闲的 CPU 线程来计算可见性
- 与主游戏线程并行运行且不会造成阻塞(每隔几刻,所需数据会在主线程上收集)
- 实时更新可见性数据,将突然弹出的现象降到最低
实体刻优化
- 减少不可见实体对客户端的影响
- 完全可配置,且与大多数模组兼容
- 不影响服务端模拟、农场或生物行为
完全可配置
- 模组的所有功能均可在配置界面中开启/关闭
- 将不应被剔除或刻剔除的实体和方块实体加入白名单
- 在使用流畅画质或自定义树叶时,有一个选项可以将树叶视为实体剔除的固体方块。这有助于提升森林地区的性能


| Minecraft | Loader | Status | Version | Note |
|---|---|---|---|---|
| 1.19.4+ | Fabric/Forge/NeoForge | ✅ 支持 | 最新 | |
| 1.16.5-1.19.2 | Fabric/Forge | ❌ 不支持 | 已过时 | 可能在某个时间点获得新更新 |
| 1.12.2/1.8.9 | Forge | ❌ 不支持 | 已过时 | 可能在某个时间点获得新更新 |
| 1.7.10 | Forge | ❌ 不支持 | 已过时 | 无更新计划 |
| b1.7.3 | Babric | ❌ 不支持 | 已过时 | 无更新计划 |



启用与未启用 EntityCulling 的直接对比。测试在 Scarland(Hermitcraft 第 9 季)进行,渲染距离设为 16 区块。除 EntityCulling 外还使用了 Sodium、Iris 和 ImmediatelyFast,运行于 Minecraft 1.21.5,使用 Fabric 模组加载器。


客户端实体(魔法模组常用于动画)可能无法按预期工作。请通过配置界面将相关实体加入刻剔除和/或实体剔除的白名单。如发现行为不正确的实体,请考虑在 Github 上报告其 id,以便纳入未来更新。
你还需要将渲染范围远超其正常边界的方块实体加入白名单。例如原版信标、Create 的滑轮以及某些 Botania 方块。


这个模组需要安装在服务端吗?
不需要。这是一个完全客户端侧的模组,不需要安装在服务端。
这会影响生物行为或农场吗?
不会。这个模组只跳过实体的渲染,不影响其逻辑。生物将继续按预期生成、移动和掉落物品。你的农场和其他游戏机制将不受影响。刻剔除功能完全限于客户端世界,因此不会影响服务端的模拟。
我在 Sodium 中启用了“Use Entity Culling”——这还有用吗?
有用!虽然 Sodium 会根据已加载的区块进行基本的可见性检查,但这个模组更进一步。它会分析实际的视线可见性,跳过那些位于可见区块内但玩家实际上看不到的实体。这是一种更激进且更精确的方法。
我该如何测试这个模组的性能影响?
在控制菜单中,你可以绑定一个调试按键,以便在游戏运行时即时切换模组的开启和关闭。这让你能够在不重启游戏的情况下,对比启用和禁用模组时的性能表现。这也可以用来检查渲染可见性问题是由本模组还是其他模组引起的。
如果你在一台非常老旧的电脑上玩,而它运行 Minecraft 已经很吃力,请考虑这样做。当 CPU 已经满载时,就没有多余的 CPU 时间来进行可见性计算了。除这种情况外,本模组绝不应给游戏带来负面的性能影响,最坏的情况也仅仅是在没有任何需要剔除的对象时完全不起作用。
F3 上的数字看起来不对,是怎么回事?
F3 调试屏幕上的数字(在较新版本中默认隐藏,可通过 F3+F6 开启)是在内部收集的,未必能反映实际的渲染计数。例如,启用了光影会导致数字偏高,因为需要渲染阴影。 另外请记住,本模组会尽量谨慎处理,因此过于靠近墙壁或天花板的实体可能会透过它们被渲染出来,因为存在被裁切的可能性。
为什么这个模组运行在 CPU 上,而不是 GPU 上?
目标是减少 GPU 负载,并减少 GPU 与 CPU 之间不必要的数据传输。在 GPU 上进行计算很可能会增加 GPU 负载,以及 CPU 主(渲染)线程的负载。但欢迎你来证明我错了,并提交一个基于 GPU 的实现 PR。老实说,我缺乏自己实现这个的技术知识和时间。


? 感谢 RoboTricker 的 Transport-Pipes 插件,它为本模组奠定了基础。
? 感谢 vicisacat 的 Babric Beta 1.7.3 移植版。
? 感谢 Pelotrio 的 Forge 1.7.10 移植版。
? 感谢 GitHub 上所有出色的翻译者和贡献者!
? 许可:tr7zw Protective License
欢迎在无需申请许可的情况下,将此模组用于你托管在 Modrinth 和 CurseForge 上的整合包或 YouTube 视频中。请勿在其他任何地方重新分发 JAR 文件!


Minecraft skips rendering things that are behind you, so why is it rendering everything that you still can't see because of walls or ceilings in the way?
This mod introduces asynchronous path-tracing to efficiently determine what's actually visible to the player. Using other available CPU cores, it calculates line-of-sight visibility in real time and eliminates unnecessary draw calls/processing for hidden block entities and entities.
This can drastically improve the frame rate, depending on the number of entities and the position in the world.


Asynchronous Path-Tracing
- Uses spare CPU threads to calculate visibility
- Runs alongside the main game thread without blocking (every few ticks, required data will be collected on the main thread)
- Updates visibility data in real time, keeping pop-ins to a minimum
Entity Tick Optimization
- Reduces client impact from entities that are not visible
- Fully configurable and compatible with most mods
- No impact on server-side simulation, farms, or mob behavior
Fully Configurable
- All features of the mod can be toggled on/off in the config screen
- Whitelist entities and block entities that should not be culled or tick-culled
- When playing with fast graphics or custom leaves, there is an option to treat leaves as solid blocks for Entity Culling. This can help to increase the performance in forested areas


| Minecraft | Loader | Status | Version | Note |
|---|---|---|---|---|
| 1.19.4+ | Fabric/Forge/NeoForge | ✅ Supported | Latest | |
| 1.16.5-1.19.2 | Fabric/Forge | ❌ Not supported | Outdated | Might get new updates at some point |
| 1.12.2/1.8.9 | Forge | ❌ Not supported | Outdated | Might get new updates at some point |
| 1.7.10 | Forge | ❌ Not supported | Outdated | No updates planned |
| b1.7.3 | Babric | ❌ Not supported | Outdated | No updates planned |



A direct comparison with and without EntityCulling active. Testing was conducted in Scarland (Hermitcraft Season 9) with render distance set to 16 chunks. The mods Sodium, Iris and ImmediatelyFast were used alongside EntityCulling, running on Minecraft 1.21.5 with the Fabric mod loader.


Client-side entities, commonly used by magic mods for animations, may not behave as expected. Whitelist the relevant entities via the config screen for tick culling and/or entity culling. Consider reporting the ids of any entities that are not behaving correctly on the Github for inclusion in future updates.
You’ll also need to whitelist block entities that render well beyond their normal bounds. Examples include the vanilla beacon, pulleys from Create, and certain Botania blocks.


Does this need to be installed on the server?
No. This is a fully client-side mod and does not need to be installed on the server.
Will this affect mob behavior or farms?
No. This mod only skips the rendering of entities and has no impact on their logic. Mobs will continue to spawn, move, and drop items as expected. Your farms and other gameplay mechanics will remain unaffected. The tick culling feature is fully limited to the client side world, so it will not affect the server-side simulation.
I have "Use Entity Culling" enabled in Sodium - does this still help?
Yes! While Sodium performs basic visibility checks based on loaded chunks, this mod goes further. It analyzes the actual line-of-sight visibility, skipping entities that are within visible chunks but not actually visible to the player. It’s a much more aggressive and accurate approach.
How can I test the performance impact of this mod?
In the controls menu, you can bind a debug key to toggle the mod on and off on the fly. This allows you to compare performance with and without the mod active, without needing to restart the game. This can also be used to check if visibility issues are caused by this mod or another mod.
Consider doing this, when playing on a really old computer, that is already struggling to run Minecraft. When the CPU is already maxed out, there is no spare CPU time to run the visibility calculations. Outside of this case, the mod should never cause a negative performance impact on the game, and at worst have no effect at all, when there is just nothing to cull.
The F3 numbers do not seem right, what is going on?
The F3 debug screen numbers (in later versions hidden by default, can be turned on via F3+F6) are internally collected and may not necessarily reflect the actual render counts. Having active shaders for instance will cause higher numbers due to the shadow rendering. Also keep in mind that the mod tries to error on the side of caution, so entities too close to walls or ceilings may be rendering through them, due to the possibility of clipping.
Why is this mod running on the CPU, not the GPU?
The goal is to reduce the GPU load and have less unnecessary data transfers between the GPU and CPU. Doing the calculations would probably increase the GPU load, and main (render) thread load of the CPU. But feel free to prove me wrong and create a PR with a GPU-based implementation. Honestly, I lack the knowhow and time to implement this myself.


👤 Thanks to RoboTricker for his Transport-Pipes plugin, which created the foundation for this mod.
👤 Thanks to vicisacat for the Babric Beta 1.7.3 backport.
👤 Thanks to Pelotrio for the Forge 1.7.10 backport.
👤 Thanks to the awesome translators and contributors on GitHub!
📄 License: tr7zw Protective License
Feel free to use this mod in your Modrinth and CurseForge-hosted modpacks or YouTube videos without asking for permission. Do not redistribute the JAR files anywhere else!
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
下载 实体剔除
这是一个相当重大的更新,包含了由多位贡献者完成的众多性能改进和错误修复。模组内部结构也得到了一定程度的清理和模块化,以便未来支持替代的剔除实现和优化方案。
更新内容
- 根据实体速度扩展实体剔除框。修复 #281
- 切换至更优化的缓存机制 by @BonsUnleashed
- 正确隐藏离散非生命实体的名称标签。修复 #355
- 更新被 tick 剔除实体的属性 #350
- 添加一个禁用 tick 剔除的玩家包围盒。修复 #347
- 优化位置分配 by @Wyvest in
- 重构 BlockEntityRenderFabricExtension 以支持替代实现 by @BluSpring in (修复 Kilt 相关问题)
- 缓存
currentTimeMillisby @Wyvest in - 语言:捷克语翻译 by @MayaqqDev in
- 在 26.3 版本中,生物插值发生在 aiStep 之前 by @MWHunter in
- 即使被剔除,也继续计算潜影贝探头的数量 by @MWHunter in
- 修复 es_ar.json 中的西班牙语翻译 by @miqueaslell-code in
- 模块化改造 by @tr7zw in
新增贡献者
- @BonsUnleashed 在 完成了首次贡献
- @Wyvest 在 完成了首次贡献
- @BluSpring 在 完成了首次贡献
- @MayaqqDev 在 完成了首次贡献
- @MWHunter 在 完成了首次贡献
- @miqueaslell-code 在 完成了首次贡献
完整更改日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。

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