跳到正文

Native Event Guard

作者:hp12138

Prevents KubeJS native event listener errors from crashing Minecraft by logging them instead.

收藏

介绍

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

Native Event Guard

Native Event Guard prevents ordinary exceptions thrown by KubeJS native event listeners from crashing Minecraft.

When a native event listener fails, this mod catches the exception and logs the error and stack trace so the game can continue running. It is designed for Minecraft 1.21.1 with NeoForge and KubeJS’s built-in native event support.

Features

  • Catches ordinary listener exceptions
  • Writes the error and stack trace to the log
  • Keeps the game running after a script error
  • Leaves JVM-level errors outside the normal exception handling path

No configuration is required.

常见问题

Native Event Guard 支持哪些 Minecraft 版本?

Native Event Guard 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Native Event Guard 怎么安装?

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

评论

登录后评论和评分

hp12138 的其他作品

查看全部 →