跳到正文

debug-helper

a Minecraft Fabric api that helps debug

收藏

介绍

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

DebugHelper

### – Simple Debug Utility for Fabric Mods

The description is made with AI

DebugHelper is a lightweight, server-side-only utility mod designed to help Fabric mod developers add easy debugging capabilities to their mods. This mod does nothing on its own — it must be used as a dependency by other mods during development.

quilt version of this mod is in **beta**

📌 Overview

DebugHelper provides simple logging, tracing, and debugging utilities that other mods can use to:

  • Print debug messages to the server console
  • Track event triggers
  • Monitor code flow during development

⚠️ This mod is server-side only. It does nothing on the client and should not be installed there.

🧩 For Mod Developers: How to Use

If you’re developing a Fabric mod and want to use DebugHelper for debugging, follow these steps.

1. Add Dependency in build.gradle

dependencies {
    // other dependencies
    
    modImplementation("io.github.zhengzhengyiyi.tweak_api.debughelper:${project.debughelper_version}")
}
debughelper_version=1.0.4

3. Use in Your Code (Java)

  • in this section, please view github (I am still doing readme on github)

📚 Check the source code for full API details.

⚙️ Requirements

  • Minecraft: 1.20.1+
  • Environment: Server-side only
  • Java: 17+

常见问题

debug-helper 支持哪些 Minecraft 版本?

debug-helper 支持 Minecraft Java 版 1.20.1–1.21.8,共 15 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

debug-helper 怎么安装?

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

评论

登录后评论和评分

zhengzhengyiyiMC 的其他作品

查看全部 →