许多 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.
- Make an item player-exclusive with
- 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 | ✅ |
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
下载 Circuit Core
新增内容
- 添加了 Class Tweaker 文件,以便更轻松地调用特定方法
- 不再需要强制转换为访问器,您现在可以直接在目标对象上调用由 Circuit Core 注入的方法。
- 为许多方法和类添加了 Javadocs 以解释其功能(废话)
修复内容
- 修复了依赖模组中必须要求 DevAuth 的问题(??!!!)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧