Мова

KubeJS Create

KubeJS Create

ModrinthCurseForge

KubeJS Create integration

1.6M завантажень 90 підписників оновлено 8mo ago
остання v2101.3.1-build.18 Modrinth
Fabric Forge Neoforge 1.16.2 – 1.21.1 Utility

Create integration for KubeJS. This mod allows you to add and properly edit recipes of Create mod in KubeJS scripts. All supported recipe types and examples are below. See Recipes page for more info.

Supported recipe types:

  • createCrushing
  • createCutting
  • createMilling
  • createBasin
  • createMixing (supports .heated() and .superheated())
  • createCompacting (supports .heated() and .superheated())
  • createPressing
  • createSandpaperPolishing
  • createSplashing (Bulk Washing)
  • createDeploying
  • createFilling
  • createEmptying

Note: Bulk Smoking = vanilla smoking and Bulk Blasting = vanilla blasting recipe types.

event.recipes.createCrushing(output[], input[])
Output doesn't have to be an array. It can be either items or fluids
Input doesn't have to be an array. It can be either ingredients or Fluid.of('minecraft:water', 1000) or {fluidTag: 'some:fluid_tag', amount: 1000}

createMechanicalCrafting

event.recipes.createMechanicalCrafting(output, pattern[], {patternKey: input})

This recipe type is the same as regular crafting table shaped recipe

event.recipes.createSequencedAssembly(output[], input, sequence[]) 
// output[] are your output items
// input is your input item
// sequence[] is an array of sequences. These sequences are "regular" recipes that are supported.

Examples

event.recipes.createCrushing([
  '2x minecraft:cobblestone',
  'minecraft:redstone',
  Item.of('minecraft:redstone').withChance(0.5)
], 'minecraft:redstone_ore')
event.recipes.createMixing('create:chromatic_compound', [
  '#forge:dusts/glowstone',
  '#forge:dusts/glowstone',
  '#forge:dusts/glowstone',
  'create:powdered_obsidian',
  'create:powdered_obsidian',
  'create:powdered_obsidian',
  'create:polished_rose_quartz'
]).superheated()
event.recipes.createFilling('create:blaze_cake', [
  'create:blaze_cake_base',
  Fluid.of('minecraft:lava', 250)
])
event.recipes.createEmptying([
  'minecraft:glass_bottle',
  Fluid.of('create:honey', 250)
], 'minecraft:honey_bottle')
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([ // start the recipe
 Item.of('6x create:large_cogwheel').withChance(32.0), // have this item be an output with a certain chance
 Item.of('create:brass_ingot').withChance(2.0), // have this item be an output with a certain chance
 'minecraft:andesite', // have this item be a guaranteed output
 'create:cogwheel', // have this item be a guaranteed output
 'minecraft:stick', // have this item be a guaranteed output
 'minecraft:iron_nugget' // have this item be a guaranteed output
], 'create:brass_ingot', [ // 'create:brass_ingot' is the input.
// the transitional item set by "transitionalItem('create:incomplete_large_cogwheel')" is the item that will be used during the recipe as the item that the input is using to transition to the output.
 event.recipes.createDeploying('create:incomplete_large_cogwheel', ['create:incomplete_large_cogwheel', '#minecraft:planks']), // like a normal recipe function, is used as a sequence step in this array. Input and output have the transitional item
 event.recipes.createDeploying('create:incomplete_large_cogwheel', ['create:incomplete_large_cogwheel', '#minecraft:wooden_buttons']), // like a normal recipe function, is used as a sequence step in this array. Input and output have the transitional item
 event.recipes.createCutting('create:incomplete_large_cogwheel', 'create:incomplete_large_cogwheel').processingTime(50) // like a normal recipe function, is used as a sequence step in this array. Input and output have the transitional item
]).transitionalItem('create:incomplete_large_cogwheel').loops(6) // set the transitional item and the loops (amount of repetitions)

If you want to use your own transitional item in sequenced_assembly recipes, you must register it in startup event:

onEvent('item.registry', event => {
  // Texture for this item goes in kubejs/assets/kubejs/textures/item/my_part.png
  event.create('my_part', 'create:sequenced_assembly').displayName('My Part')
})

Then you would use ...transitionalItem('kubejs:my_part')...

Note! Mysterious Conversion recipes are client side only, so the only way to add them currently is using reflection with this code in client scripts (outside any event):

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:golden_apple', 'minecraft:golden_carrot'))

Версії

Beta
2101.3.1-build.18
neoforge · 1.21, 1.21.1 · 8mo ago
https://github.com/KubeJS-Mods/KubeJS-Create/commits/main
293.2k
Release
2001.3.0-build.8+forge
forge · 1.20.1 · 17mo ago
588.4k
Beta
2001.3.0-build.5+forge
forge · 1.20.1 · 17mo ago
1.4k
Beta
2001.2.5-build.2+forge
forge · 1.20.1 · 32mo ago
574.4k
Release
1802.2.4-build.23+fabric
fabric · 1.18.2 · 33mo ago
2.5k
Release
1902.2.4-build.46+fabric
fabric · 1.19.2 · 33mo ago
9.7k
Release
1802.2.4-build.16+forge
forge · 1.18.2 · 33mo ago
39.2k
Release
1902.2.4-build.44+fabric
fabric · 1.19.2 · 33mo ago
244
Release
1902.2.4-build.36+forge
forge · 1.19.2 · 33mo ago
78.0k
Release
1802.2.4-build.21+fabric
fabric · 1.18.2 · 33mo ago
128
Beta
1902.2.4-build.29
forge · 1.19.2 · 35mo ago
2.2k
Release
1902.2.4-build.37
fabric · 1.19.2 · 35mo ago
22.1k

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

FAQ

Як встановити KubeJS Create?

Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.

KubeJS Create безкоштовний?

KubeJS Create можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.

Які версії Minecraft підтримує KubeJS Create?

Працює з Fabric, Forge, Neoforge. Підтримуються версії 1.16.2–1.21.1. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Завантажити KubeJS Create

CurseForge
B 2101.3.1-build.18 1.21, 1.21.1 neoforge 38 KB R 2001.3.0-build.8+forge 1.20.1 forge 30 KB B 2001.3.0-build.5+forge 1.20.1 forge 30 KB B 2001.2.5-build.2+forge 1.20.1 forge 30 KB R 1802.2.4-build.23+fabric 1.18.2 fabric 20 KB R 1902.2.4-build.46+fabric 1.19.2 fabric 30 KB R 1802.2.4-build.16+forge 1.18.2 forge 22 KB R 1902.2.4-build.44+fabric 1.19.2 fabric 30 KB R 1902.2.4-build.36+forge 1.19.2 forge 30 KB R 1802.2.4-build.21+fabric 1.18.2 fabric 20 KB B 1902.2.4-build.29 1.19.2 forge 30 KB R 1902.2.4-build.37 1.19.2 fabric 30 KB R 1902.2.4-build.34 1.19.2 fabric 28 KB B 1902.2.4-build.27 1.19.2 forge 29 KB B 1902.2.4-build.25 1.19.2 forge 29 KB R 1902.2.4-build.32 1.19.2 fabric 27 KB R 1902.2.4-build.30 1.19.2 fabric 27 KB B 1902.2.4-build.23 1.19.2 forge 29 KB B 1902.2.4-build.20 1.19.2 forge 28 KB R 1902.2.4-build.26 1.19.2 fabric 27 KB R 1902.2.4-build.24 1.19.2 fabric 26 KB R 1902.2.4-build.21 1.19.2 fabric 26 KB R 1902.2.4-build.18 1.19.2 forge 27 KB R 1902.2.4-build.16 1.19.2 forge 25 KB R 1902.2.4-build.19 1.19.2 fabric 24 KB B 1902.2.4-build.11 1.19.2 fabric 23 KB B 1802.2.4-build.14 1.18.2 fabric 20 KB B 1902.2.4-build.9 1.19.2 forge 24 KB B 1902.2.4-build.5 1.19.2 forge 24 KB B 1902.2.4-build.5 1.19.2 fabric 23 KB B 1802.2.4-build.5 1.18.2 forge 22 KB B 1802.2.4-build.5 1.18.2 fabric 20 KB B 1902.1.1-build.35 1.19.2 forge 28 KB B 1902.1.1-build.35 1.19.2 fabric 27 KB B 1902.1.1-build.32 1.19.2 forge 28 KB B 1902.1.1-build.32 1.19.2 fabric 26 KB B 1802.2.2-build.28 1.18.2 forge 25 KB B 1802.2.2-build.28 1.18.2 fabric 24 KB B 1802.2.2-build.26 1.18.2 forge 20 KB B 1802.2.2-build.26 1.18.2 fabric 19 KB B 1802.2.2-build.23 1.18.2 forge 20 KB B 1802.2.2-build.23 1.18.2 fabric 19 KB B 1802.2.1-build.16 1.18.2 forge 10 KB B 1801.2.0-build.14 1.18.1 forge 10 KB R 1605.1.4-build.12 1.16.5 forge 10 KB R 1605.1.2-build.7 1.16.5 forge 10 KB R 1605.1.2-build.4 1.16.5 forge 9 KB R 1605.1.2-build.3 1.16.5 forge 9 KB R 1605.1.2-build.2 1.16.5 forge 7 KB R 1604.1.0.4 1.16.2, 1.16.3, 1.16.4 forge 6 KB

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.