跳到正文

Lib 39

作者:3944Realms

A mod library for better creating mod

收藏

介绍

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

A LIB

Current Library Features

  • S2C Synchronized Data System (Not only supports Capability but also enables synchronization of more data types through DataProvider)
  • I18n Language JSON Data Generation Code based on Provider (providing more convenient language data generation)
  • Compatibility Code Registration Management Class (for easier compatibility with other mods)
  • NBT Read/Write Utility Class using a chain pattern to reduce redundant serialization/deserialization logic
  • A Series of Riding Methods for more convenient management of riding relationships
    …and a range of other utility methods aimed at reducing repetitive coding tasks.

For Developers

Add the Maven repository in your build.gradle:

repositories {
    maven {
        name = "LTD Maven"
        url = "" rel="noopener nofollow" target="_blank">https://nexus.bot.leisuretimedock.top/repository/maven-public/"
    }
}

Import the dependency:

implementation 'top.r3944realms.lib39:lib39:${version}'

Version examples like 1.20.1-0.0.17:

implementation 'top.r3944realms.lib39:lib39:1.20.1-0.0.17'

After building, this mod can be found in the library with examples included.

Click "Download Source Code" in the right-hand window to view JavaDoc annotations.

常见问题

Lib 39 支持哪些 Minecraft 版本?

Lib 39 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Lib 39 怎么安装?

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

评论

登录后评论和评分

3944Realms 的其他作品

查看全部 →