promotional bannermobile promotional banner

KubeJS Diesel Generators

Create: Diesel Generators integration for KubeJS

File Details

Diesel Generators KubeJS 1.20.1-v1.1.1

  • R
  • Mar 9, 2025
  • 68.11 KB
  • 35.5K
  • 1.20.1
  • Forge

File Name

dg_js-1.20.1-1.1.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

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