KubeJS Create modu hakkında
- KubeJS için Create entegrasyonu. Bu mod, KubeJS betiklerinde Create modunun tariflerini eklemenize ve düzgün şekilde düzenlemenize olanak tanır. Desteklenen tüm tarif türleri ve örnekler aşağıdadır. Daha fazla bilgi için Tarifler sayfasına bakın.
Desteklenen tarif türleri:
- createCrushing
- createCutting
- createMilling
- createBasin
- createMixing (.heated() ve .superheated() destekler)
- createCompacting (.heated() ve .superheated() destekler)
- createPressing
- createSandpaperPolishing
- createSplashing (Bulk Washing)
- createDeploying
- createFilling
- createEmptying
Not: Bulk Smoking = vanilla smoking ve Bulk Blasting = vanilla blasting tarif türleridir.
event.recipes.createCrushing(output[], input[]) Output dizi olmak zorunda değildir. Eşyalar veya sıvılar olabilir. Input dizi olmak zorunda değildir. Ingredient'lar veya Fluid.of('minecraft:water', 1000) ya da {fluidTag: 'some:fluidtag', amount: 1000} olabilir
- createMechanicalCrafting
event.recipes.createMechanicalCrafting(output, pattern[], {patternKey: input}) Bu tarif türü normal crafting table shaped tarifiyle aynıdır
- createSequencedAssembly
event.recipes.createSequencedAssembly(output[], input, sequence[]) // output[] çıktı eşyalarınızdır // input girdi eşyanızdır // sequence[] bir dizi dizisidir. Bu diziler desteklenen "normal" tariflerdir.
Örnekler:
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([ // tarifi başlat Item.of('6x create:largecogwheel').withChance(32.0), // bu eşyanın belirli bir şansla çıktı olmasını sağla Item.of('create:brassingot').withChance(2.0), // bu eşyanın belirli bir şansla çıktı olmasını sağla 'minecraft:andesite', // bu eşyanın garantili çıktı olmasını sağla 'create:cogwheel', // bu eşyanın garantili çıktı olmasını sağla 'minecraft:stick', // bu eşyanın garantili çıktı olmasını sağla 'minecraft:ironnugget' // bu eşyanın garantili çıktı olmasını sağla ], 'create:brassingot', [ // 'create:brassingot' girdidir. // "transitionalItem('create:incompletelargecogwheel')" ile ayarlanan geçiş eşyası, tarif boyunca girdinin çıktıya geçiş yapmak için kullandığı eşya olarak kullanılacak eşyadır. event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:planks']), // normal bir tarif fonksiyonu gibi, bu dizide bir dizi adımı olarak kullanılır. Girdi ve çıktı geçiş eşyasına sahiptir event.recipes.createDeploying('create:incompletelargecogwheel', ['create:incompletelargecogwheel', 'minecraft:woodenbuttons']), // normal bir tarif fonksiyonu gibi, bu dizide bir dizi adımı olarak kullanılır. Girdi ve çıktı geçiş eşyasına sahiptir event.recipes.createCutting('create:incompletelargecogwheel', 'create:incompletelargecogwheel').processingTime(50) // normal bir tarif fonksiyonu gibi, bu dizide bir dizi adımı olarak kullanılır. Girdi ve çıktı geçiş eşyasına sahiptir ]).transitionalItem('create:incompletelargecogwheel').loops(6) // geçiş eşyasını ve döngüleri (tekrar sayısını) ayarla
sequencedassembly tariflerinde kendi geçiş eşyanızı kullanmak istiyorsanız, onu startup event'inde kaydetmelisiniz:
onEvent('item.registry', event => {
// Bu eşyanın dokusu kubejs/assets/kubejs/textures/item/mypart.png konumuna gider
event.create('mypart', 'create:sequencedassembly').displayName('My Part')
Sonra …transitionalItem('kubejs:mypart')… kullanırsınız
Not! Mysterious Conversion tarifleri yalnızca istemci tarafındadır, bu yüzden şu anda bunları eklemenin tek yolu istemci betiklerinde (herhangi bir event'in dışında) bu kodla reflection kullanmaktır:
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 nasıl kurulur
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.
Sürümler
Bağımlılıklarla
| Minecraft | Yükleyici | Dosya | Tarih | İşlemler |
|---|---|---|---|---|
| 1.21 | NeoForge | KubeJS Create NeoForge 2101.3.1-build.1837.7 KB 196 | ||
| 1.20.1 | Forge | KubeJS Create Forge 2001.3.0-build.830.2 KB 112 | ||
| 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 49 | ||
| 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 9 |
SSS
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.
Yorumlar
KubeJS Create için ilk puanı sen ver


