蓝图Blueprint

模组

· 作者 TeamAbnormals

实现所有 Abnormals 模组框架的库!

6 本站下载 0 关注 更新于 2 个月前

最新 7.1.5 · 1.20.1 · Forge / NeoForge

一键开服(送7天)

Website Discord X Patreon

? 简介:

Blueprint 是一个模组库,旨在简化对 Team Abnormals 旗下大多数模组共享代码的访问,但任何人都可以使用并鼓励使用它!它拥有许多有价值的功能,例如注册表辅助工具、数据同步、多种数据驱动修改系统、生物群系 API、饰纹材质 API、Endimator 动画 API 等等!

? 开发者指南:

将 Blueprint 添加到你的模组中非常简单!

首先,你需要将 Blueprint 添加为依赖项以便在代码中访问该库。为此,请在你的 build.gradle 中添加以下内容:

repositories {
    maven {
        url = "https://maven.teamabnormals.com"
    }
}

dependencies {
    implementation("com.teamabnormals:blueprint:<version>")
}

将 <version> 替换为你想要的 Blueprint 版本,包括所需的 Minecraft 版本。
例如,1.21.1-8.0.0 对应的是 blueprint-1.21.1-8.0.0.jar。

接下来,你必须在 NeoForge 中将其添加为依赖项,以使你的模组在加载时要求安装 Blueprint。在你的 neoforge.mods.toml 文件中,添加以下块:

[[dependencies.<modId>]]
    modId = "blueprint"
    type = "required"
    versionRange = "[<version>,)"
    ordering = "AFTER"
    side = "BOTH"

将 <version> 替换为你想要的 Blueprint 版本。 例如,8.0.0 将针对 Blueprint 的 8.0.0 版本。 上述 neoforge.mods.toml 文件的代码块针对所选版本及后续任何版本。如果你想以不同方式指定版本范围,建议阅读 neoforge.mods.toml 规范文档。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源