概览
需要 KubeJS
简而言之:手持基岩方块打开箱子即可启动图形界面
KubeJS GUI 模组的全新重构版本现已发布。是的,它完全可用。与其让我手动硬编码各种脚本场景以在模组中使用来制作配方,现在我引入了模板系统,任何人都可以分享和下载它们(仓库已上线,目前还没有任何实用内容,但很快就会有)。你可以从零开始编写自己的脚本,或者从 Wiki 中获取一个;用你的物品槽和输入参数构建画布;将输入和输出替换为你的画布元素并保存模板。就这么简单,你就拥有了一个可重用的模板。这可以用于从使用物品 ID 和整数作为输入的配方,到标签及其修改等各种用途。
目标是让社区创建并分享模板。模板存储为 .kubeguitemplate 文件(实际上只是一个格式化的文本文件),包含元数据和画布数据,因此当你想要用它制作脚本时,模板会自动组装。
目前我仍在忙于测试整个系统,因此社区共享功能可能几天内不可用。当它正式上线时我会更新描述。现在,你可以制作并保存自己的模板(基本上只是从 KubeJS Wiki 教程中复制粘贴)。
这更像是一个用来娱乐的工具而非传统意义上的模组,尽管你完全可以利用它制作有趣的物品等来获得乐趣。
我会在近期完善此描述,目前我非常忙碌,但在此之前,请查看画廊以快速浏览现有内容。
PS:我将把它移植到 1.20.1,具体需要多长时间尚不清楚。
另外,如果你编写的脚本出错并在游戏加载时报错,只需在你的实例文件夹中删除该脚本,通常位于 AppData/Roaming/ModrinthApp/profiles/"你的实例"/kubejs 目录下。
我与 KubeJS 的开发人员或其任何插件的作者没有任何形式的关联
Overview
REQUIRES KUBEJS
TL:DR : Open a chest with a block of bedrock in your hand to start the GUI
The new overhaul of the KubeJS GUI mod is out now. Yes its fully functional and rather than having me manually hardcode all the different scripting scenarios to use in the mod to make recipes, I now present the template system, where everyone can share and download them (The repo is up, nothing useful on it yet, will be in the near future). You either make your own script from scratch or grab one from the wiki; make your canvas with your item slots and input parameters; substitute the inputs and outputs with your canvas elements and save the template. As easy as that you have a reusable template. This can be used to do anything from recipes with item IDs and integers for inputs all the way to tags and modifying them.
The goal is to have the community make and share templates, templates are stored as a .kubeguitemplate file (literally just a formatted text file) and contains meta data and canvas data so the template self assembles when you want to make a script with it.
For now I am still busy with testing the whole thing, so community sharing might not be available for a few days. So I'll update the description when it goes live, for now you can make and save your own templates (literrally just copy paste from the KubeJS wiki tutorials).
This is more of a tool than a mod to have fun with, though you could very well have fun with it, making funny items etc.
I will be more thorough with this description in the near future, I am pretty busy, but for now check out the gallery on a quick glance of what there is.
PS; I will be bringing it to 1.20.1 no clue how long its gonna take
also if you make a script wrong and it spits an error on game load, just delete the script in your instance folder, usually in AppData/Roaming/ModrinthApp/profiles/"your instance"/kubejs
I am not affiliated in any way, shape or form with the developers of KubeJS or the authors of any of its addons
评论 0
登录后参与评分
还没有评论,来抢沙发吧