KubeJS Diesel Generators is now also available for 1.18.2
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();
});
This is a Update for Create: Diesel Generators v1.3
In this Update i have changed the Syntax to:
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"
);
});
This is a Update for the Create: Diesel Generators version v1.2i
In this Version i have changed the Syntax to:
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();
});
This Update is for the 1.19.2 Version of Create: Diesel Generators
In this Update i have change the syntax to:
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();
});



