1.20.1-Forge-JEI KubeJS-1.1.0-JEI 15.56.0.205
Curse Maven Snippet
What's new
1.1.0
- Fluid slots:
inputTank/outputTankon categories,r.fluid(...)on recipes. - Recipe ids:
r.id(...);fromRecipeTypenow keeps the original recipe id. r.linkSlots(...)cycles linked slots together.recipe.json()gives the recipe's JSON insidefromRecipeTypemappers.event.fromCategory(...)+r.copy(...): build recipes from any existing JEI category by copying its slots (works with categories from other mods, e.g. vanilla brewing).recipe.json()in multiplayer: declare the recipes you need in a client script withJEIKubeJS.syncRecipeTypes(...)/JEIKubeJS.syncRecipeIds(...), and the server sends their JSON on join and on/reload.
Note: for recipe.json() in multiplayer, install the mod on the server too. A server with this mod refuses players who do not have it. Clients with the mod can still join servers without it (json() then returns null).
Wiki: https://github.com/hp3081925122/jei-kubejs/wiki
1.1.0
- 流体槽:分类新增
inputTank/outputTank,配方新增r.fluid(...)。 - 配方 ID:
r.id(...);fromRecipeType默认沿用原配方 ID。 r.linkSlots(...)让多个槽位同步轮换。recipe.json()在fromRecipeType映射中读取配方 JSON。event.fromCategory(...)+r.copy(...):读取任意已有 JEI 分类(包括其他模组和原版酿造)的槽位来生成配方。- 多人游戏中的
recipe.json():在客户端脚本里用JEIKubeJS.syncRecipeTypes(...)/JEIKubeJS.syncRecipeIds(...)声明需要的配方,服务端在进服和/reload时发送这些配方的 JSON。
注意:多人游戏要用 recipe.json() 时服务端也要安装本模组。装了本模组的服务端会拒绝没装本模组的玩家;装了本模组的客户端仍可进入没装的服务端(此时 json() 返回 null)。
This mod has no additional files