跳到正文

Epic Parcool Momentum Log Killer

作者:epic_lover

阻止 epic_parcool_momentum 每 tick 执行不受限制的诊断日志记录,避免严重卡顿。

收藏

介绍

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

Epic Parcool Momentum Log Killer

Cancels epic_parcool_momentum‘s own internal diagnostic logging, which runs unconditionally on the client every single tick and was confirmed by decompile to cause severe, sustained TPS stalls. Movement mechanics are completely untouched — only the logging is removed.

Why this exists

epic_parcool_momentum’s EPMClientHooks.logGliderOpeningDelayDiagnostic is the shared implementation behind 60+ call sites scattered across its wall-jump/glider/phantom-ascent handoff logic, almost all of which pass throttlePerTick=false. One of those call sites is reached from a @At("HEAD") mixin injected into GliderData#glideAndFallLogic — which runs every client tick for the local player regardless of whether they’re actually gliding. Each unthrottled call does 10-20+ WeakHashMap lookups and derived capability/animation state reads before formatting a ~50-field log line, all before the log level is even checked. None of that data feeds back into any gameplay decision — the actual wall-run/glider/momentum state machine computes its own state independently — so this is pure, avoidable overhead paid every tick, all the time, whether or not the log level is high enough to actually write the line.

Features

  • Cancels 6 of EPMClientHooks‘ internal diagnostic logging methods at their entry point via Mixin @Inject(at = "HEAD", cancellable = true): logGliderOpeningDelayDiagnostic, logGliderOpeningDelayProbe, logExhaustionPose, logGliderFastRunDiagnostic, logWomBackflipGliderGuard, logForcedDemolitionPhantomAscentBypass
  • Zero effect on movement: wall-running, wall-jumping, gliding, phantom ascent, natural sprinter, demolition leap, spider techniques, and every other epic_parcool_momentum feature behave exactly the same — only the log calls are removed, and nothing reads their output back
  • Client-side only

Requirements

  • Minecraft 1.20.1
  • Minecraft Forge 47+
  • epic_parcool_momentum (required — this mod patches it directly and does nothing without it)

Notes

This is an unofficial third-party addon, not affiliated with epic_parcool_momentum’s author. If a future version of epic_parcool_momentum renames or restructures these methods, this addon’s Mixin targets may need to be updated to match.

常见问题

Epic Parcool Momentum Log Killer 支持哪些 Minecraft 版本?

Epic Parcool Momentum Log Killer 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Epic Parcool Momentum Log Killer 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

epic_lover 的其他作品

查看全部 →