什么是 Conium
呼唤新时代的哈洛,声音或许尚未中断,
来吧,继续敲响新世界的大门!
Conium 是用于现代 Minecraft 的数据包和脚本框架。它提供了极其丰富的功能,无需编写 Java 代码;通过 Conium,你仅使用数据包即可完成模组开发。
警告
Conium 的完整功能目前处于“客户端模式”,服务器需要向客户端同步数据包和脚本,但该功能尚未完成。
不过,Conium 的脚本系统可以完全在服务器端运行,只是目前 Bedrock 脚本 API 在服务器端不可用。
要求
| 要求 | 版本 | 安装状态 | 备注 |
|---|---|---|---|
| Java | 21+ | 21 或更高 | 21 或更高均可 |
| Minecraft | >=1.21.11 | 必需 | 1.21.11 或更高可用 |
| Fabric language kotlin | 1.13.5+kotlin.2.2.10!! | 必需 | 仅可使用 kotlin 2.2.10 |
| Fabric API | ? | 必需 | 任何版本均可 |
构建要求
Conium 已配置好整个项目,只需克隆仓库并重新加载项目,然后运行 Gradle 任务 remapJar 即可。
| 要求 | 版本 | 备注 |
|---|---|---|
| Java | 21+ | 21 或更高 |
| Gradle | 8.14.2 | 8.14.2 或更高可用 |
| Kotlin | 2.2.10!! | 仅可使用 2.2.10 |
| Fabric loom | 1.13-SNAPSHOT | 1.13-SNAPSHOT 或其他版本可用 |
| Minecraft | >=1.21.11 | 仅可使用 1.21.11 或更高 |
NeoForge
关于对 NeoForge 的支持,由于 NeoForge 的安全 JAR 处理器与 Kotlin Native 存在冲突,目前无法完成支持。
且 Conium 无法移除 Kotlin Native,因为脚本运行需要它,未来 Conium 可能会尝试在没有 NeoForge 环境的情况下运行脚本评估器。
Discord 服务器
你可以加入我们的 discord 服务器,与 Conium 社区交流!
数据驱动
参见 Data driven
Conium 脚本 API
参见 Conium scripting。
Bedrock 脚本 API
目前尚未完成对 Bedrock 脚本 API 的支持,仅有框架能够运行示例。
语法
TypeScript 语法由 structuring-translator 提供支持:TypeScript supports
MoLang 支持也基于 structuring-translator,但由 Conium 实现:MoLang supports
源代码与贡献
Conium 建立在事件驱动、面向上下文的架构之上,具有强大的类似切面的能力,尽管它不使用事件溯源的状态语义。
代码库在架构上复杂且庞大。虽然我们要不断完善文档,但浏览源代码可能仍然具有挑战性。
因此,我们强烈建议在贡献之前与核心团队讨论你的想法。这能确保与项目的设计和规范保持一致。
请注意,未经事先讨论而提交的拉取请求可能会被拒绝。对于一般性问题,我们鼓励你提交标记为“question”的问题。
Hitokoto(一言)
每次启动时,Conium 会在控制台随机显示一句 Hitokoto,Hitokoto 列表接收拉取请求,仅接受英文和日文,不接受其他语言,不接受无意义的句子。
有关列表,请参见 ConiumHitokoto.kt。
What is Conium
新世代を呼ぶハロー、声はまだ途切れないだろう、
新世界の扉を、ほら叩き続けよう!
Conium is a datapack and script framework for modern Minecraft, it provides very diverse features without Java coding, Conium lets you complete your mods only using the datapacks.
Warning
The full Conium feature is currently as 'on client' mode, the server needs to synchronize the datapacks and scripts to client but are not completed this feature now.
But the Conium scripting system can run on the server side completely, only the bedrock scripting APIs are not available on the server side now.
Requirements
| Requirement | Version | Installs | Notes |
|---|---|---|---|
| Java | 21+ | 21 Or higher | 21 Or higher is ok |
| Minecraft | >=1.21.11 | Need | 1.21.11 or higher can be use |
| Fabric language kotlin | 1.13.5+kotlin.2.2.10!! | Need | Only kotlin 2.2.10 can be use |
| Fabric API | ? | Need | Any version is ok |
Build requirements
Conium has configured whole project, just clone the repository, and reload project then run the gradle task remapJar.
| Requirement | Version | Notes |
|---|---|---|
| Java | 21+ | 21 Or higher |
| Gradle | 8.14.2 | 8.14.2 or higher could be use |
| Kotlin | 2.2.10!! | Only 2.2.10 can be use |
| Fabric loom | 1.13-SNAPSHOT | 1.13-SNAPSHOT or other could be use |
| Minecraft | >=1.21.11 | Only 1.21.11 or higher can be use |
NeoForge
About supporting of NeoForge, currently cannot be completed because the secure jar handler in NeoForge has conflict to kotlin native.
And Conium cannot remove kotlin native because scripting running needs, Conium may try to run script evaluator without NeoForge environment in the future.
Discord server
You can join ours discord server to chat with Conium community!
Data driven
See the Data driven
Conium script APIs
See the Conium scripting.
Bedrock script APIs
Not completed bedrock script APIs supports now, only framework able to run the samples.
Grammars
About TypeScript grammar, supported by structuring-translator: TypeScript supports
The MoLang support also based on structuring-translator but implemented by Conium: MoLang supports
Source Code and Contributions
Conium is built on an event-driven, context-oriented architecture with strong aspect-like capabilities, though it does not use event-sourced state semantics.
The codebase is architecturally complex and extensive. While we continuously improve documentation, navigating the source may still be challenging.
Therefore, we strongly recommend discussing your ideas with the core team before contributing. This ensures alignment with the project’s design and specifications.
Please note that pull requests submitted without prior discussion may be declined. For general inquiries, we encourage you to submit an issue tagged “question.”
Hitokoto
Conium will randomly roll a Hitokoto in console every time launching, the list of Hitokotos receives pull requests, only allow in English and Japanese, don't take other languages, don't accept nonsense sentences.
For the list, see ConiumHitokoto.kt.
下载 Conium
下载 Conium
下载 Conium
下载 Conium
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Conium
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Conium
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Conium
下载 Conium
下载 Conium
下载 Conium
Minecraft
将 Minecraft 版本升级至 26.3。
数据驱动
物品
- 添加可堆肥组件和模板。('minecraft:compostable', 'compostable)
- 添加显示名称组件和模板。('minecraft:display_name', 'display_name')
- 添加防火组件和模板。('minecraft:fire_resistant', 'fire_resistant')
- 添加可附魔组件和模板。('minecraft:enchantable', 'enchantable')
- 添加冷却组件和模板。('minecraft:cooldown', 'cooldown')
方块
- 添加摩擦组件和模板。('minecraft:friction', 'friction')
- 添加可替换组件和模板。('minecraft:replaceable', 'replaceable')
实体
- 添加防火免疫组件和模板。('minecraft:fire_immune', 'fire_immune')
- 添加生命值组件和模板。('minecraft:health', 'health')
- 添加移动组件和模板。('minecraft:movement', 'movement' / 'movement_speed')
- 添加击退抗性组件和模板。('minecraft:knockback_resistance', 'knockback_resistance')
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧