Kiwi Customization 是一款用于从 Excel/Google Sheets/YAML 创建游戏内容(主要是方块和物品)的工具。
目前,你可以使用此模组来创建:
- 方块
- 物品
- VoxelShape(体素形状)
- 声音类型
- 声音事件
- 创造模式标签页
- 工具等级
在这里可以查看 一个基于此模组的实际模组项目。表格模板可以在这里找到。
Kiwi Customization 并非旨在取代代码的使用。相反,它主要致力于为开发团队成员提供更友好、可扩展的内容管理工作流,即使他们没有编程经验。非程序员也可以轻松编辑某些属性并在游戏中查看效果,而无需编译模组。但是,结合 Lychee/Polytone/KubeJS/其他模组,你已经在无需编码的情况下能够创造出许多有趣的内容。
通常情况下,在修改表格后,你需要运行 Python 脚本,该脚本会生成 Kiwi 可识别的 YAML 文件以创建内容。然后运行数据生成任务来生成所需的资源。这样,相应的更改就会反映在游戏中。
此外,本模组提供了一些有用的系统,使最终用户能够更轻松地使用方块。例如,一个方块可以根据周围环境改变其状态,完全由数据驱动!示例模组「XK's Decoration」充分利用了这一系统。你可以在示例和源代码中找到更多详细信息。
你不必将此模组作为依赖项使用。你可以直接将 Kiwi 作为依赖项,并在你的模组文件中添加一个自定义键,就像本模组所做的那样。
请理解,由于我的精力有限,目前暂无文档支持。我制作这个模组是因为我的项目中需要它。我觉得可能有人会对它感兴趣,所以我让它更容易被发现。
最后,我想感谢 SettingDust 和 3TUSK 对本项目提供的帮助。

Kiwi Customization is a tool for creating game content (mainly blocks and items) from Excel/Google Sheets/YAML.
Currently, you can use this mod to create:
- Block
- Item
- VoxelShape
- Sound Type
- Sound Event
- Creative Tab
- Tool Tier
Here you can check out a real mod project based on this mod. Table template can be found here.
Kiwi Customization is not designed to replace the use of code. Instead, it focuses primarily on providing development team members with a more user-friendly and scalable content management workflow, even if they have no experience in programming. And non-programmers can easily edit certain properties and see the effects in the game, without having to compile the mod. But with the combination of Lychee/Polytone/KubeJS/other mods, you can already create many fun things without coding.
Typically, after modifying the table, you should run the Python script, which will generate YAML files recognizable by Kiwi to create content. Then run the data generation task to generate the necessary resources. As a result, the corresponding changes will be reflected in the game.
Plus, this mod provides some useful systems to make end users way easier to use blocks. For example, a block can change it's state based on the surroundings, completely data-driven! The example mod, XK's Decoration, takes full advantage of this system. You can find more details in the example and source code.
You don't have to use this mod as a dependency. You can directly use Kiwi as a dependency and add a custom key in your mod file, just like this mod does.
Please understand that due to my limited energy, there is no documentation available for now. I made this because I need it in my projects. I feel that someone may be interested in it, so I made it more visible.
Finally, I would like to thank SettingDust and 3TUSK for their help on this project.

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