跳到正文

EventTrace

作者:Blenny

Trace Minecraft events and callbacks to find which mod changed, cancelled, or slowed them down.

收藏

截图

介绍

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

 

Opening EventTrace & enabling capture

Tracing is off by default. Press F8 in-game to open the UI and start or stop capture.

To capture automatically before joining a world, close Minecraft, change enabled=false to enabled=true in your instance’s config/eventtrace.properties, then restart. Capture begins after EventTrace initializes.

 

 

EventTrace is a debugging mod that shows which mods handle, modify, cancel, or slow down Minecraft events.

Instead of disabling mods one by one to find a conflict, EventTrace records the event listener chain and shows what happened.

Features

  • See which mod handled an event
  • Track listener execution order
  • See when an event gets cancelled
  • Track important value changes
  • Measure listener execution time
  • Find slow event handlers
  • Trace nested events
  • Capture listener exceptions
  • Filter traces by event, mod, player, entity, and duration
  • Export traces for bug reports
  • Dedicated server support
  • Forge, Fabric, and NeoForge support where possible
  • Broad Minecraft version support, including legacy versions

Example

LivingDamageEvent

Initial damage: 20

examplearmor 20 -> 14 0.12 ms

examplemagic 14 -> 9 0.09 ms

Final damage: 9

Or find exactly what cancelled an interaction:

PlayerInteractEvent

claimmod PASS

protectionmod cancelled: false -> true

Final result: Interaction blocked

Built for debugging

EventTrace is useful for:

  • Mod developers
  • Modpack developers
  • Server administrators
  • Compatibility testing
  • Finding protection or interaction conflicts
  • Tracking unexpected combat changes
  • Investigating slow event handlers

Tracing is disabled by default and only runs when you enable it.

EventTrace does not upload your traces, logs, worlds, or server information.

Some loaders expose more event information than others. EventTrace only reports attribution when it can determine it reliably. If the source of a change cannot be identified, it says so.

undefined

常见问题

EventTrace 支持哪些 Minecraft 版本?

EventTrace 支持 Minecraft Java 版 1.7.10–26.2,共 61 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

EventTrace 怎么安装?

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

评论

登录后评论和评分

Blenny 的其他作品

查看全部 →