介绍
We can use this library to track mod performance.
The mod also features a system that recognizes your mods, so you can use /nightlib mods and it will display all mods using the API.
You can also direct people to your forum or Discord in case of issues with the mod or high RAM usage using /nightlib info <mod>
Why Use NightLib?
NightLib provides a library that allows you to monitor your mod’s performance and identify potential issues! Plus, it’s incredibly easy to use.
Implement the Library in your mod
1 – Build.gradle:
}
2 – Register your mod
import net.night.nightlib.api.NightlibAPI;
3 – Reporting performance
4 – Report Errors
常见问题
NightLib 支持哪些 Minecraft 版本?
NightLib 支持 Minecraft Java 版 1.20.1–26.1.2,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
NightLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Nighttie 的其他作品
查看全部 →Better Pickaxe Trims
新增锻造模板纹饰,可个性化定制并升级你的镐。探索耐久提升、额外经验、更快挖掘等效果。
Multi Arrow Effects [Multiple Effects on One Arrow]
将箭与药水效果结合,在一支箭上携带多种效果。
Auto Pickup Filter [Loot Filter]
一键禁用对任何物品(原版或模组)的自动收集。
Better Swords Trims
新增专为个性化和强化你的剑与盔甲而设计的锻造纹饰。探索强大的战斗效果、范围伤害、发光探测等更多内容。

评论
登录后评论和评分