关于 KubeJS Create 模组
- KubeJS 的 Create 集成。这个模组允许你在 KubeJS 脚本中添加并正确编辑 Create 模组的配方。下面列出了所有支持的配方类型和示例。更多信息请查看配方页面。
支持的配方类型:
- createCrushing
- createCutting
- createMilling
- createBasin
- createMixing(支持 .heated() 和 .superheated())
- createCompacting(支持 .heated() 和 .superheated())
- createPressing
- createSandpaperPolishing
- createSplashing(批量洗涤)
- createDeploying
- createFilling
- createEmptying
注意:批量烟熏 = 原版烟熏,批量高炉冶炼 = 原版高炉冶炼配方类型。
event.recipes.createCrushing(output[], input[]) 输出不必是数组。它可以是物品或流体。输入不必是数组。它可以是原料,或 Fluid.of('minecraft:water', 1000),或 {fluidTag: 'some:fluidtag', amount: 1000}
- createMechanicalCrafting
event.recipes.createMechanicalCrafting(output, pattern[], {patternKey: input}) 此配方类型与普通工作台有序配方相同
- createSequencedAssembly
event.recipes.createSequencedAssembly(output[], input, sequence[]) // output[] 是你的输出物品 // input 是你的输入物品 // sequence[] 是序列数组。这些序列是受支持的“普通”配方。
示例:
event.recipes.createCrushing([ '2x minecraft:cobblestone', 'minecraft:redstone', Item.of('minecraft:redstone').withChance(0.5) ], 'minecraft:redstoneore')
event.recipes.createMixing('create:chromaticcompound', [ 'forge:dusts/glowstone', 'forge:dusts/glowstone', 'forge:dusts/glowstone', 'create:powderedobsidian', 'create:powderedobsidian', 'create:powderedobsidian', 'create:polishedrosequartz' ]).superheated()
event.recipes.createFilling('create:blazecake', [ 'create:blazecakebase', Fluid.of('minecraft:lava', 250) ])
event.recipes.createEmptying([ 'minecraft:glassbottle', Fluid.of('create:honey', 250) ], 'minecraft:honeybottle')
event.recipes.createMechanicalCrafting('minecraft:piston', [ 'CCCCC', 'CPIPC', 'CPRPC' ], { C: 'forge:cobblestone', P: 'minecraft:planks', R: 'forge:dusts/redstone', I: 'forge:ingots/iron' })
event.recipes.createSequencedAssembly([ // 开始配方 Item.of('6x create:largecogwheel').withChance(32.0), // 让此物品以一定概率作为输出 Item.of('create:brassingot').withChance(2.0), // 让此物品以一定概率作为输出 'minecraft:andesite', // 让此物品作为必定输出 'create:cogwheel', // 让此物品作为必定输出 'minecraft:stick', // 让此物品作为必定输出 'minecraft:ironnugget' // 让此物品作为必定输出 ], 'create:brassingot', [ // 'create:brassingot' 是输入。 // 由 "transitionalItem('create:incompletelargecogwheel')" 设置的过渡物品,是在配方过程中使用的物品,输入物品用它来过渡到输出。 event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:planks']), // 类似普通配方函数,在此数组中用作序列步骤。输入和输出都带有过渡物品 event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:woodenbuttons']), // 类似普通配方函数,在此数组中用作序列步骤。输入和输出都带有过渡物品 event.recipes.createCutting('create:incompletelargecogwheel', 'create:incompletelargecogwheel').processingTime(50) // 类似普通配方函数,在此数组中用作序列步骤。输入和输出都带有过渡物品 ]).transitionalItem('create:incompletelargecogwheel').loops(6) // 设置过渡物品和循环次数(重复次数)
如果你想在 sequencedassembly 配方中使用自己的过渡物品,必须在启动事件中注册它:
onEvent('item.registry', event => {
// 此物品的纹理放在 kubejs/assets/kubejs/textures/item/mypart.png
event.create('mypart', 'create:sequencedassembly').displayName('My Part')
然后你就可以使用 …transitionalItem('kubejs:mypart')…
注意!神秘转化配方仅在客户端生效,所以目前添加它们的唯一方法是在客户端脚本中使用反射(在任何事件之外):
let MysteriousItemConversionCategory = java('com.simibubi.create.compat.jei.category.MysteriousItemConversionCategory')
let ConversionRecipe = java('com.simibubi.create.compat.jei.ConversionRecipe')
MysteriousItemConversionCategory.RECIPES.add(ConversionRecipe.create('minecraft:apple', 'minecraft:carrot'))
MysteriousItemConversionCategory.RECIPES.add(ConversionRecipe.create('minecraft:goldenapple', 'minecraft:goldencarrot'))
如何安装 KubeJS Create
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16.2–1.21.1 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.21.1. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file kubejs-create-neoforge-2101.3.1-build.18.jar (38 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: KubeJS Create should be in the list.
Minecraft 1.21.1 runs on Java 21: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.21 | NeoForge | KubeJS Create NeoForge 2101.3.1-build.1837.7 KB 73 | ||
| 1.20.1 | Forge | KubeJS Create Forge 2001.3.0-build.830.2 KB 52 | ||
| 1.20.1 | Forge | KubeJS Create Forge 2001.3.0-build.530.2 KB | ||
| 1.18.2 | Fabric | KubeJS Create Fabric 1802.2.4-build.2320.4 KB 38 | ||
| 1.19.2 | Fabric | kubejs-create-fabric-1902.2.4-build.11.jar23.1 KB | ||
| 1.16.3 | — | kubejs-create-1604.1.0.4.jar5.7 KB 7 |
常见问题
Which Minecraft versions does KubeJS Create work on?
There are files for 1.16.2–1.21.1, 9 versions in total. The newest is 1.21.1.
Is KubeJS Create for Forge or Fabric?
There are files for Fabric: 1.18.2–1.19.2, for Forge: 1.20.1 and for NeoForge: 1.21–1.21.1.
Does KubeJS Create need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
Which Java does KubeJS Create need?
Minecraft 1.21.1 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download KubeJS Create safely?
On this page: the file kubejs-create-neoforge-2101.3.1-build.18.jar (38 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d4dce8f82f2d37545f085522a782c1bfda222154.
评价
成为第一个评价 KubeJS Create 的人

