حول مود KubeJS Create
- تكامل Create مع KubeJS. تتيح لك هذه الإضافة إضافة وتعديل وصفات مود Create بشكل صحيح في سكربتات KubeJS. جميع أنواع الوصفات المدعومة والأمثلة أدناه. راجع صفحة Recipes لمزيد من المعلومات.
أنواع الوصفات المدعومة:
- createCrushing
- createCutting
- createMilling
- createBasin
- createMixing (يدعم .heated() و .superheated())
- createCompacting (يدعم .heated() و .superheated())
- createPressing
- createSandpaperPolishing
- createSplashing (Bulk Washing)
- createDeploying
- createFilling
- createEmptying
ملاحظة: Bulk Smoking = نوع وصفة vanilla smoking و Bulk Blasting = نوع وصفة vanilla blasting.
event.recipes.createCrushing(output[], input[]) لا يجب أن يكون 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، فيجب عليك تسجيله في حدث startup:
onEvent('item.registry', event => {
// Texture for this item goes in kubejs/assets/kubejs/textures/item/mypart.png
event.create('mypart', 'create:sequencedassembly').displayName('My Part')
ثم ستستخدم …transitionalItem('kubejs:mypart')…
ملاحظة! وصفات Mysterious Conversion من جانب العميل فقط، لذا الطريقة الوحيدة لإضافتها حاليًا هي استخدام reflection مع هذا الكود في سكربتات العميل (خارج أي حدث):
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

