跳到正文

N3rdy-lib

作者:N3rdyR0b1n

A library for code and objects to reuse for future projects.

收藏

介绍

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

N3rdy-Lib is a library mod that contains stuff while i make minecraft mods. It currently contains the following:

A class for NbtObjects, NbtObjects are objects that can be directly put on nbt compounds due to them implementing the NbtElement interface. All data handling is already done except client to server synchronisation, which can be done by updating the nbtcompound.

An interface for left click items. Items that exectute a function when you use the left click button when holding it. Also has a method for holding the left click button. Both methods provide a client and server method and will need a shared method if not specifically stated otherwise for now.

An interface for Items that lets them grant attribute modifiers while inside of the general inventory. Think of charms and amulets without the hassle for the custom equipment slots, the attribute modifiers update once every 5 ticks for performance sake.

If you want to make use of this mod for personal development i highly recommend checking out the github for the code or asking me on the discord!

常见问题

N3rdy-lib 支持哪些 Minecraft 版本?

N3rdy-lib 支持 Minecraft Java 版 1.20.1–1.20.3,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

N3rdy-lib 怎么安装?

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

评论

登录后评论和评分

N3rdyR0b1n 的其他作品

查看全部 →