许多 AussieBox 模组所使用的核心“库”!
Circuit Core 是大多数 AussieBox 项目所依赖的模组,为 客户端与服务器端 模组提供实用方法。目前,它提供了以下功能:
- PlayerAnimationLib 包装器(也许你可以这么叫它?)
- 物品、方块和物品组的注册工具
- 进度授予/撤销工具
- 玩家专属物品能力
- 使用
PlayerExclusiveItemHelper.makeExclusive() 使物品仅限特定玩家使用。
- 此后,世界操作员可以单独允许特定玩家使用该物品。
- Devenv 专属工具:
/circuit_core command
- 动画设置(用于 PAL 包装器)
- 快速无限效果切换开关
该模组目前支持四个版本:1.21.1, 1.21.8, 1.21.10, 和 1.21.11。
依赖 Circuit Core
你可以自由地以任意方式依赖 Circuit Core,无需署名。但请注意,代码本身采用 ARR 许可证(附带条件)。
[!IMPORTANT]
如果获取依赖失败,请检查 Jitpack 以确保你的版本已完成构建。如果仍在进行中,请等待完成后再试。
要依赖 Circuit Core,请将以下内容添加到你的 build.gradle 中:
// 在你的 repositories 块内:
maven { url 'https://jitpack.io' }
maven {
name = "RedlanceMinecraft"
url = "https://repo.redlance.org/public"
}
// 在你的 dependencies 块内:
modImplementation "com.github.AussieBox:Circuit-Core:${project.minecraft_version}~${project.circuit_core_version}"
然后,在你的 gradle.properties 中定义模组的版本号。
minecraft_version={YOUR GAME VERSION (should already be in gradle.properties)}
circuit_core_version={SEE TABLE BELOW}
| 游戏版本 |
最新版本 |
支持情况 |
| 1.21.11 |
0.4.2 |
✅ |
| 1.21.10 |
0.4.2 |
✅ |
| 1.21.8 |
0.4.2 |
✅ |
| 1.21.1 |
0.4.2 |
✅ |
Core "library" used by many of AussieBox's mods!
Circuit Core is a mod used by most of AussieBox's projects that supplies utility methods for Client & Server-sided mods. Currently, it provides:
- A PlayerAnimationLib wrapper (is that what you call it?)
- Item, Block, and ItemGroup registry util
- Also adds registered items to ItemGroups automatically!
- Advancement granting/revoking util
- Player-exclusive item capabilities
- Make an item player-exclusive with
PlayerExclusiveItemHelper.makeExclusive().
- From there, world operators can allow specific players to use items individually.
- You can also set a default list of players during registration.
- Devenv-exclusive utilities:
/circuit_core command
- Animation setting (for PAL wrapper)
- Quick infinite effect toggle
The mod also supports four versions at the moment: 1.21.1, 1.21.8, 1.21.10, and 1.21.11.
Depending on Circuit Core
You are free to depend on Circuit Core as you wish, and do not require credit to do so. However, keep in mind that the code itself is licensed under ARR (with conditions).
[!IMPORTANT]
If fetching the dependency fails, check Jitpack to ensure your version has finished building. If it's still in progress, wait for it to finish then try again.
To depend on Circuit Core, add this to your build.gradle:
// Inside your repositories block:
maven { url 'https://jitpack.io' }
maven {
name = "RedlanceMinecraft"
url = "https://repo.redlance.org/public"
}
// Inside your dependencies block:
modImplementation "com.github.AussieBox:Circuit-Core:${project.minecraft_version}~${project.circuit_core_version}"
Then, define the mod's version in your gradle.properties.
minecraft_version={YOUR GAME VERSION (should already be in gradle.properties)}
circuit_core_version={SEE TABLE BELOW}
| Game Version |
Latest Version |
Supported |
| 1.21.11 |
0.4.2 |
✅ |
| 1.21.10 |
0.4.2 |
✅ |
| 1.21.8 |
0.4.2 |
✅ |
| 1.21.1 |
0.4.2 |
✅ |
评论 0
登录后参与评分
还没有评论,来抢沙发吧