Visual Kube
Visual Kube 是一款适用于 Forge 1.20.1 的模组,它将类似 KubeJS 的数据包编辑功能带入游戏内的可视化界面。你无需手动编写配方和战利品表的 JSON 文件,只需打开用户界面,从 Minecraft 或任何已安装的模组中选择已加载的内容,进行可视化编辑,并将生成的覆盖文件保存至数据包中。
开发者:w3nnacry
功能介绍
Visual Kube 旨在成为整合包创作者的通用可视化编辑器。
- 编辑来自 Minecraft、数据包和已加载模组的合成配方。
- 支持读取形状化、无形状化、熔炉类、锻造台类以及许多自定义配方格式。
- 以网格形式在图标中显示配方的原材料。
- 通过选择物品并点击槽位来编辑配方的原材料。
- 修改配方结果及结果数量。
- 禁用现有配方。
- 将配方替换保存至生成的数据包中。
- 编辑实体战利品表并添加新的掉落物品。
- 编辑方块战利品表并添加新的掉落物品。
- 创建起始配方模板。
- 查看生成的覆盖文件。
- 所有生成的更改均保存在
visualkube_overrides 内。
支持版本
- Minecraft:1.20.1
- Mod Loader:Forge
- Java:17
安装方法
- 为 1.20.1 安装 Minecraft Forge。
- 下载 Visual Kube
.jar 文件。
- 将
.jar 文件放入你的 Minecraft mods 文件夹中。
- 启动游戏。
- 打开一个单人世界。
- 按 K 键打开 Visual Kube 编辑器。
使用方法
在世界内时,按 K 键打开编辑器。
Visual Kube 在单人模式或集成服务器中效果最佳,因为它会将生成的数据包文件写入当前世界文件夹。
配方标签页
配方标签页会扫描来自 Minecraft、数据包和模组的所有已加载配方。
- 在左侧搜索配方。
- 点击某个配方以选中它。
- 在右侧搜索/选择物品。
- 点击配方网格中的槽位以放置选定的物品。
- 使用 Erase(清除)清空槽位。
- 使用 Result <- item(结果 <- 物品)将配方输出设置为选定的物品。
- 点击 Apply(应用)以在内存中应用可视化更改。
- 点击 Save override(保存覆盖)以写入配方覆盖文件。
- 在游戏中运行
/reload。
Visual Kube 将替换内容保存至:
world/datapacks/visualkube_overrides/data/<namespace>/recipes/<recipe>.json
实体掉落标签页
实体掉落标签页会扫描实体战利品表。
- 在左侧选择实体战利品表。
- 在右侧选择物品。
- 设置概率和数量。
- 点击 Add item drop(添加物品掉落)。
- 点击 Save loot(保存战利品)。
- 运行
/reload。
生成的战利品表覆盖文件保存至:
world/datapacks/visualkube_overrides/data/<namespace>/loot_tables/entities/<entity>.json
方块掉落标签页
方块掉落标签页的功能类似于实体掉落标签页,但用于方块战利品表。
生成的方块战利品覆盖文件保存至:
world/datapacks/visualkube_overrides/data/<namespace>/loot_tables/blocks/<block>.json
模板标签页
模板标签页用于创建起始配方 JSON 文件。
当你希望从头开始创建新配方,并在重新加载后进一步编辑它时,请使用此功能。
生成的模板保存至:
world/datapacks/visualkube_overrides/data/visualkube/recipes/<name>.json
更改标签页
更改标签页列出 visualkube_overrides 数据包中生成的文件。这有助于你查看 Visual Kube 已经写入世界的更改。
注意事项
Visual Kube 编辑的是数据包数据。保存更改后,请运行:
/reload
一些高度定制的模组配方可能将其可视化布局存储在代码中而非 JSON 中。Visual Kube 结合了原始 JSON 解析与 Minecraft 已加载的 RecipeManager 数据,以支持尽可能多的配方,但极其特殊的序列化器可能仍需要专用的适配器。
当前限制
- 战利品编辑目前仅支持添加物品掉落。完整可视编辑现有战利品池、条件和函数的功能已在计划中。
- 某些复杂的自定义配方可能会显示为简化网格。
- 服务器使用处于实验阶段;世界数据包写入目前主要专注于单人/集成服务器世界。
致整合包创作者
当你想要快速原型化平衡性调整时,Visual Kube 非常有用:
- 替换昂贵的配方原材料;
- 禁用重复的模组配方;
- 添加自定义怪物掉落;
- 添加自定义方块掉落;
- 创建起始配方,而无需手动编写 JSON。
所有更改都保存为数据包覆盖文件,因此可以检查、备份、复制或随整合包分发。
Visual Kube
Visual Kube is a Forge 1.20.1 mod that brings KubeJS-style datapack editing into an in-game visual interface. Instead of writing recipe and loot table JSON by hand, you can open a UI, select loaded content from Minecraft or any installed mod, edit it visually, and save generated overrides into a datapack.
Developer: w3nnacry
What It Does
Visual Kube is designed as a universal visual editor for modpack creators.
- Edit crafting recipes from Minecraft, datapacks, and loaded mods.
- Read shaped, shapeless, furnace-like, smithing-like, and many custom recipe formats.
- Display recipe ingredients as item icons in a grid.
- Edit recipe ingredients by selecting an item and clicking a slot.
- Change recipe result and result count.
- Disable existing recipes.
- Save recipe replacements into a generated datapack.
- Edit entity loot tables and add new item drops.
- Edit block loot tables and add new item drops.
- Create starter recipe templates.
- Review generated override files.
- Keep all generated changes inside
visualkube_overrides.
Supported Version
- Minecraft: 1.20.1
- Mod Loader: Forge
- Java: 17
How To Install
- Install Minecraft Forge for 1.20.1.
- Download the Visual Kube
.jar.
- Put the
.jar into your Minecraft mods folder.
- Start the game.
- Open a singleplayer world.
- Press K to open the Visual Kube editor.
How To Use
Open the editor with K while inside a world.
Visual Kube works best in singleplayer or an integrated server because it writes generated datapack files into the current world folder.
Recipes Tab
The Recipes tab scans every loaded recipe from Minecraft, datapacks, and mods.
- Search for a recipe on the left.
- Click a recipe to select it.
- Search/select an item on the right.
- Click a slot in the recipe grid to place the selected item.
- Use Erase to clear slots.
- Use Result <- item to set the recipe output to the selected item.
- Click Apply to apply visual changes in memory.
- Click Save override to write the recipe override.
- Run
/reload in-game.
Visual Kube saves replacements into:
world/datapacks/visualkube_overrides/data/<namespace>/recipes/<recipe>.json
Entity Drops Tab
The Entity Drops tab scans entity loot tables.
- Pick an entity loot table on the left.
- Pick an item on the right.
- Set chance and count.
- Click Add item drop.
- Click Save loot.
- Run
/reload.
Generated loot table overrides are saved into:
world/datapacks/visualkube_overrides/data/<namespace>/loot_tables/entities/<entity>.json
Block Drops Tab
The Block Drops tab works like Entity Drops, but for block loot tables.
Generated block loot overrides are saved into:
world/datapacks/visualkube_overrides/data/<namespace>/loot_tables/blocks/<block>.json
Templates Tab
The Templates tab creates starter recipe JSON files.
Use it when you want to create a new recipe from scratch, then edit it further after reloading.
Generated templates are saved into:
world/datapacks/visualkube_overrides/data/visualkube/recipes/<name>.json
Changes Tab
The Changes tab lists generated files inside the visualkube_overrides datapack. This helps you see what Visual Kube has already written to your world.
Important Notes
Visual Kube edits datapack data. After saving changes, run:
/reload
Some heavily custom mod recipes may store their visual layout in code instead of JSON. Visual Kube combines raw JSON parsing with Minecraft's loaded RecipeManager data to support as many recipes as possible, but very unusual serializers may still need dedicated adapters.
Current Limitations
- Loot editing currently supports adding item drops. Full visual editing of existing loot pools, conditions, and functions is planned.
- Some complex custom recipes may display as a simplified grid.
- Server use is experimental; world datapack writing is currently focused on singleplayer/integrated server worlds.
For Modpack Creators
Visual Kube is useful when you want to quickly prototype balance changes:
- replace expensive recipe ingredients;
- disable duplicate mod recipes;
- add custom mob drops;
- add custom block drops;
- create starter recipes without hand-writing JSON.
All changes are saved as datapack overrides, so they can be inspected, backed up, copied, or shipped with a modpack.
评论 0
登录后参与评分
还没有评论,来抢沙发吧