KubeJS Diesel Generators

Create: Diesel Generators integration for KubeJS

File Details

Diesel Generators KubeJS 1.20.1-v1.2.1

  • R
  • Mar 9, 2025
  • 68.48 KB
  • 4.8K
  • 1.20.1
  • Forge

File Name

dg_js-1.20.1-1.2.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:kubejs-diesel-generators-1152400:6286137")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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"
  );
});