Create: Diesel Generators integration for KubeJS. It allows you to create the current recipes:
Changes on 17.03.25: Removed the old version because the newer version have better syntax
I have pushed Updates for:
1.19.2 with version v1.1.1
1.20.1 with version v1.1.1
and for
1.20.1 with version v1.2.1 (Create v6 & DG v1.3)
A Reminder you need KubeJs Create for the newest versions
Examples of the recipes for 1.18.2 in version 1.0.0:

Examples of the recipes for 1.19.2 & 1.20.1 in action in version 1.1.1:

Examples of the recipes for 1.20.1 in action in version 1.2.1:


If you have any suggestions you can write it into the Discord Channel: Vorschläge or if you have any issues pls use the Discord Channel: Fehler und Bugs in our Discord. You can see the channels under the categorie: Minecraft-Modding.
Be sure you only write german or english at the discord. For issues please provide the crashlog, latestlog, serverlog from KubeJS and any steps which ones you made to the issue or if you can reproduced it.
How to Install KubeJS Diesel Generators (Mod)
KubeJS Diesel Generators by Blue.PHS is verified for Forge, Neoforge across Minecraft versions 1.18.2, 1.19.2, 1.20.1, 1.21.1 (latest release: 1.20.1-1.2.8, file size: 121 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.18.2, 1.19.2, 1.20.1, 1.21.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded KubeJS Diesel Generators file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version## 1.20.1-v1.2.8
- Added .modifyResult() to Hammering Recipes
- Added Chanced Base Output to Hammering & Wire Cutting
- Fixed Compression Molding
## 1.21.1-v1.2.8
- Fixed Compression Molding
## 1.21.1-v1.2.4
- Added Chanced Base Output to Hammering & Wire Cutting
Added Custom Fuel Type Command,
Added Oil Command
Added HeatJS Compat
``
javascript
onEvent("recipes", (event) => {
// Basin Fermenting
// Syntax basin_fermenting(output[], input[])
// supports multiple inputs and outputs
// supports .heated() and .superheated()
// supports chance-based output
e.recipes.createdieselgenerators
.basin_fermenting(Fluid.of("create:honey", 500), [
Fluid.of("create:chocolate", 1000),
"minecraft:bone_meal",
])
.processingTime(250)
.heated();
// Distillation
// Syntax distillation(output[], input)
// Distillation can only have 1 Fluid input
// supports up to 6 Fluid outputs
// supports .heated() and .superheated()
event.recipes.createdieselgenerators
.distillation(
[
Fluid.of("createdieselgenerators:diesel", 50),
Fluid.of("createdieselgenerators:gasoline", 50),
],
Fluid.of("createdieselgenerators:crude_oil", 100)
)
.processingTime(100)
.superheated();
});
``In this Update i have changed the Syntax to:
``
javascript
ServerEvents.recipes((e) => {
// Bulk Fermenting
// Syntax bulk_fermenting(output[], input[])
// supports multiple inputs and outputs
// supports .heated() and .superheated()
// supports chance-based output
e.recipes.createdieselgenerators
.bulk_fermenting(["minecraft:magma_cream", Item.of("minecraft:slime_ball").withChance(0.5)], [
"minecraft:slime_ball",
Fluid.of("minecraft:lava", 100),
])
.processingTime(200)
.superheated();
// Basin Fermenting
// Syntax basin_fermenting(output[], input[])
// supports multiple inputs and outputs
// supports .heated() and .superheated()
// supports chance-based output
e.recipes.createdieselgenerators
.basin_fermenting(["minecraft:magma_cream", Item.of("minecraft:slime_ball").withChance(0.5)], [
"minecraft:slime_ball",
Fluid.of("minecraft:lava", 100),
])
.processingTime(200)
.superheated();
// Distillation
// Syntax distillation(output[], input)
// Distillation can only have 1 Fluid input
// supports up to 6 Fluid outputs
// supports .heated() and .superheated()
e.recipes.createdieselgenerators
.distillation(
[
Fluid.of("createdieselgenerators:diesel", 50),
Fluid.of("createdieselgenerators:gasoline", 50),
],
Fluid.of("createdieselgenerators:crude_oil", 100)
)
.processingTime(100).heated();
// Casting
// Syntax casting(output, input, mold)
e.recipes.createdieselgenerators.casting(
"minecraft:milk_bucket",
Fluid.of("minecraft:milk", 144),
"createdieselgenerators:bowl"
);
// Compression Molding
// Syntax compression_molding(output, input, mold)
// supports .heated() and .superheated()
e.recipes.createdieselgenerators
.compression_molding(
"minecraft:milk_bucket",
Fluid.of("minecraft:milk", 144),
"createdieselgenerators:bowl"
)
.heated();
e.remove({ output: "create:copper_sheet" });
// Hammering
// Syntax hammering(output with count, input)
e.recipes.createdieselgenerators.hammering(
"4x create:copper_sheet",
"minecraft:copper_ingot"
);
// Wire Cutting
// Syntax wire_cutting(output with count, input)
e.recipes.createdieselgenerators.wire_cutting(
"4x immersiveengineering:wire_copper",
"minecraft:copper_ingot"
);
});
``In this Version i have changed the Syntax to:
``
javascript
ServerEvents.recipes((e) => {
// Basin Fermenting
// Syntax basin_fermenting(output[], input[])
// supports multiple inputs and outputs
// supports .heated() and .superheated()
// supports chance-based output
e.recipes.createdieselgenerators
.basin_fermenting(Fluid.of("create:honey", 500), [
Fluid.of("create:chocolate", 1000),
"minecraft:bone_meal",
])
.processingTime(250)
.heated();
// Distillation
// Syntax distillation(output[], input)
// Distillation can only have 1 Fluid input
// supports up to 6 Fluid outputs
// supports .heated() and .superheated()
e.recipes.createdieselgenerators
.distillation(
[Fluid.of("minecraft:water", 250), Fluid.of("minecraft:lava", 50)],
Fluid.of("minecraft:milk", 500)
)
.processingTime(20)
.superheated();
});
``