Skip to content

KubeJS Create Mod cho Minecraft 1.20.1, 1.21.1

Tích hợp KubeJS Create

từ Lat · CurseForge
lượt tải
170 lượt tải
lượt xem
365 lượt xem
Đã cập nhật
Đã cập nhật 25.10.2026

Giới thiệu mod KubeJS Create

  • Tích hợp Create cho KubeJS. Mod này cho phép bạn thêm và chỉnh sửa đúng cách các công thức của mod Create trong script KubeJS. Tất cả các loại công thức được hỗ trợ và ví dụ ở bên dưới. Xem trang Recipes để biết thêm thông tin.

Các loại công thức được hỗ trợ:

  • createCrushing
  • createCutting
  • createMilling
  • createBasin
  • createMixing (hỗ trợ .heated() và .superheated())
  • createCompacting (hỗ trợ .heated() và .superheated())
  • createPressing
  • createSandpaperPolishing
  • createSplashing (Bulk Washing)
  • createDeploying
  • createFilling
  • createEmptying

Lưu ý: Bulk Smoking = vanilla smoking và Bulk Blasting = loại công thức vanilla blasting.

event.recipes.createCrushing(output[], input[]) Output không nhất thiết phải là mảng. Nó có thể là item hoặc fluid Input không nhất thiết phải là mảng. Nó có thể là ingredient hoặc Fluid.of('minecraft:water', 1000) hoặc {fluidTag: 'some:fluidtag', amount: 1000}

  • createMechanicalCrafting

event.recipes.createMechanicalCrafting(output, pattern[], {patternKey: input}) Loại công thức này giống với công thức có hình dạng của bàn chế tạo thông thường

  • createSequencedAssembly

event.recipes.createSequencedAssembly(output[], input, sequence[]) // output[] là các item đầu ra của bạn // input là item đầu vào của bạn // sequence[] là một mảng các chuỗi. Những chuỗi này là các công thức "thông thường" được hỗ trợ.

Ví dụ:

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([ // bắt đầu công thức Item.of('6x create:largecogwheel').withChance(32.0), // cho item này làm đầu ra với một xác suất nhất định Item.of('create:brassingot').withChance(2.0), // cho item này làm đầu ra với một xác suất nhất định 'minecraft:andesite', // cho item này làm đầu ra chắc chắn 'create:cogwheel', // cho item này làm đầu ra chắc chắn 'minecraft:stick', // cho item này làm đầu ra chắc chắn 'minecraft:ironnugget' // cho item này làm đầu ra chắc chắn ], 'create:brassingot', [ // 'create:brassingot' là đầu vào. // item chuyển tiếp được đặt bởi "transitionalItem('create:incompletelargecogwheel')" là item sẽ được dùng trong công thức làm item mà đầu vào dùng để chuyển sang đầu ra. event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:planks']), // giống như một hàm công thức thông thường, được dùng làm bước chuỗi trong mảng này. Đầu vào và đầu ra có item chuyển tiếp event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:woodenbuttons']), // giống như một hàm công thức thông thường, được dùng làm bước chuỗi trong mảng này. Đầu vào và đầu ra có item chuyển tiếp event.recipes.createCutting('create:incompletelargecogwheel', 'create:incompletelargecogwheel').processingTime(50) // giống như một hàm công thức thông thường, được dùng làm bước chuỗi trong mảng này. Đầu vào và đầu ra có item chuyển tiếp ]).transitionalItem('create:incompletelargecogwheel').loops(6) // đặt item chuyển tiếp và số vòng lặp (số lần lặp lại)

Nếu bạn muốn dùng item chuyển tiếp của riêng mình trong công thức sequencedassembly, bạn phải đăng ký nó trong sự kiện startup:

onEvent('item.registry', event => {

// Texture cho item này nằm trong kubejs/assets/kubejs/textures/item/mypart.png

event.create('mypart', 'create:sequencedassembly').displayName('My Part')

Sau đó bạn sẽ dùng …transitionalItem('kubejs:mypart')…

Lưu ý! Công thức Mysterious Conversion chỉ ở phía client, nên cách duy nhất để thêm chúng hiện tại là dùng reflection với đoạn code này trong script client (bên ngoài mọi sự kiện):

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'))

Cách cài đặt KubeJS Create

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. 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.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. 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.

  2. 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.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. 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.

Phiên bản

Kèm phụ thuộc

MinecraftLoaderTệpNgàyHành động
1.21NeoForgeKubeJS Create NeoForge 2101.3.1-build.1837.7 KB 73
1.20.1ForgeKubeJS Create Forge 2001.3.0-build.830.2 KB 52
1.20.1ForgeKubeJS Create Forge 2001.3.0-build.530.2 KB
1.18.2FabricKubeJS Create Fabric 1802.2.4-build.2320.4 KB 38
1.19.2Fabrickubejs-create-fabric-1902.2.4-build.11.jar23.1 KB
1.16.3—kubejs-create-1604.1.0.4.jar5.7 KB 7

Câu hỏi thường gặp

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.

Đánh giá

Hãy là người đầu tiên đánh giá KubeJS Create

Bình luận 0

Đăng nhập để bình luậnĐăng nhập

Mod tương tự

Tất cả mod

Thêm về điều này