跳到正文

“Faster” Particle Collisions

A standalone version of one of Methane's particle optimizations

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

“Faster” Particle Collisions

Originally when writing Methane’s 2.4 update, I found that particle lighting and collision calculations took up a lot of CPU time in certain conditions for seemingly no reason. To fix this, I outright disabled collision logic and lighting for particles when Methane was on. I’ve been meaning to throw this on modrinth for a while, and remembered to do it… a little later than expected.

The lighting hack is very much a feature of Methane, although Particle Core optimizes lighting for particles (instead of throwing out the whole system for a bit more performance).

While this makes particles “more optimized”, it also means that all particle collisions are not calculated. Most of the time this is not noticable, but particles that are meant to stick to surfaces will not do so anymore. A handful of other small effects will also look odd, or not work properly.

Mods that depend on this behaviour will either not work correctly or outright crash (although running code on particle collisions is very uncommon for mods to do).

If you don’t need the performance boost from this, you should settle for just Particle Core.

It’s worth noting that as of recently, Lunar Client has for whatever reason used the same patch that Methane uses. Using Lunar with this mod will cause a crash, and make Methane disable this optimization. I have no idea why they did this.

常见问题

“Faster” Particle Collisions 支持哪些 Minecraft 版本?

“Faster” Particle Collisions 支持 Minecraft Java 版 1.20–1.21.1,共 9 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

“Faster” Particle Collisions 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

AnOpenSauceDev 的其他作品

查看全部 →