
? 简介:
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 规范文档。



? About:
Blueprint is a mod library designed to make it easier to access code shared across most Team Abnormals mods, but anyone is allowed and encouraged to use it! It has many valuable features, such as a registry helper, data syncing, various data-driven modification systems, a biome API, a trim material API, the Endimator animation API, and much more!

? For Developers:
Adding Blueprint to your mod is quite simple!
First off, you need to add Blueprint as a dependency to access the library in code. To do so, add the following to your build.gradle:
repositories {
maven {
url = "https://maven.teamabnormals.com"
}
}
dependencies {
implementation("com.teamabnormals:blueprint:<version>")
}
Replace <version> with the desired version of Blueprint, including the desired version of Minecraft.
For example, 1.21.1-8.0.0 yields blueprint-1.21.1-8.0.0.jar.
Next, you must add it as a dependency on NeoForge to make your mod require Blueprint when loading. In your neoforge.mods.toml, add the following block to the file:
[[dependencies.<modId>]]
modId = "blueprint"
type = "required"
versionRange = "[<version>,)"
ordering = "AFTER"
side = "BOTH"
Replace <version> with the desired version of Blueprint.
For example, 8.0.0 will target version 8.0.0 of Blueprint.
The code block above for the neoforge.mods.toml file targets the selected version and any subsequent versions. If you want to target it differently, you may want to read up on the neoforge.mods.toml spec.


下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
下载 Blueprint
- 简化了模组化生物群系分片初始化代码
- 重塑后的资源流不再是一次性使用(修复了一些罕见的兼容性问题)
- 移除了 mixin 合成参数类加载的占位符
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。

评论 0
登录后参与评分
还没有评论,来抢沙发吧