KubeJS Create

KubeJS Create

KubeJS Create integration

von
1.6M Downloads
fabricforgeneoforgeutility
Server mit dieser Mod mieten

Über diese Mod

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

Verfügbare Versionen

KubeJS Create Forge 2001.3.0-build.8release
MC 1.20.1forge
5. März 2025
KubeJS Create Fabric 1802.2.4-build.23release
MC 1.18.2fabric
6. November 2023
KubeJS Create Fabric 1902.2.4-build.46release
MC 1.19.2fabric
6. November 2023
KubeJS Create Forge 1802.2.4-build.16release
MC 1.18.2forge
5. November 2023
KubeJS Create Fabric 1902.2.4-build.44release
MC 1.19.2fabric
5. November 2023

KubeJS Create auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 4 GB RAM (6 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.21.1).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "KubeJS Create". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabricforgeneoforge

Minecraft-Versionen

1.21.1, 1.21, 1.20.1 (+7 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

6 GB(min. 4 GB)

Häufige Fragen

KubeJS Create Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 4 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.21.1). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist KubeJS Create mit fabric und forge und neoforge kompatibel?

KubeJS Create unterstützt offiziell fabric, forge, neoforge für Minecraft 1.21.1, 1.21, 1.20.1. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit KubeJS Create – wie optimiere ich die Performance?

Empfohlener RAM: 6 GB (+1 GB pro 5 Spieler). Prüfe mit /spark profiler, ob KubeJS Create den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere KubeJS Create mit nur einem Klick auf deinem Server.

Empfohlener RAM
6 GBab €7.800000000000001/Monat
Min. 4 GB | +1 GB pro 5 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
GNU Lesser General Public License v3.0 only
Server-seitig
Erforderlich

Unterstützte Versionen

1.21.11.211.20.11.19.21.18.21.18.11.16.51.16.41.16.31.16.2