Skip to content

KubeJS workings

Nathan22211 edited this page Aug 15, 2026 · 1 revision

This mod has a config section for adding tiers, though, KubeJS makes this easier to do.

CustomTiersEvents.define(event => {
event.create('allthemodium')//name of tier
.mekanism({ //mekanism settings
        enabled: true,
        previous: "starter",//previous tier. "base" for base machines, or "modid:tier" for Mek: evo, ascended et al tiers.
        tier_installer: true,//add tier installer
        bin_storage: 8192,
        energy_cube_capacity: 2400000,          // 1,600,000 * 1.5
        energy_cube_output: 120000,             // 80,000 * 1.5
        fluid_tank_storage: 48000,              // 32,000 * 1.5
        fluid_tank_output: 24000,               // 16,000 * 1.5
        chemical_tank_storage: 96000,           // 64,000 * 1.5
        chemical_tank_output: 48000,            // 32,000 * 1.5
        cable_capacity: 480000,                 // in starter: 320,000 * 1.5
        pipe_capacity: 3000,                    // 2,000 * 1.5
        pipe_pull: 375,                         // 250 * 1.5
        tube_capacity: 6000,                    // 4,000 * 1.5
        tube_pull: 1125,                        // 750 * 1.5
        transporter_pull: 3,                    // 2 * 1.5 = 3
        transporter_speed: 1.5,                 // 1 * 1.5
        conductor_conduction: 7.5,              // 5.0 * 1.5
        conductor_heat_capacity: 1.5,           // 1.0 * 1.5
        conductor_insulation: 15,               // 10 * 1.5
        induction_cell_capacity: 12000000,      // 8,000,000 * 1.5
        induction_provider_output: 120000,      // 80,000 * 1.5
        factory_processes: 2//number of slots for factories
})     
.order(6)
.storage({ //Sophisticated Storage settings
        inventorySlots: 36, //storage slots in one block
        upgradeSlots: 3, //uplgrade slots
        previous: 'proper_iron' //previous block tier
})
.upgradeMaterial('kubejs:andesite_zinc_alloy')//upgrade item/tag for tier
.cmm({ //create: more machines
        processingMultiple: 1, //speed multiplier
        itemCapability: 32 , //item storage for blocks
        fluidCapability: 2000}) //fluid storage for blocks
.color('#9e9c9b') //color used for tier
.createMachines({ //base Create machines
        millstone: { 
                speedMultiplier: 1, //proccesing speed multiplier
                outputSlots: 9, //number of output slots
                stressImpact: 2 
                }, //number of SUs it takes
        itemDrain: { 
                fluidCapacity: 1000 //capacity of drain
        },
        casing: {
            applyTo: 'log',                  // default — stripped logs/woods (hand + deployer)
            // applyTo: 'minecraft:stone',   // wood grain → that block’s texture or plank texture with NBTcompat
            material: 'kubejs:andesite_zinc_alloy'   // optional; else upgradeMaterial
          },
          encasedFan: {
            rangeMultiplier: 1.1,
            processingSpeedMultiplier: 0.8, //multipliers for processing speed and range
            stressImpact: 1.9 //SU it takes
          }
      })
})

You don't need to add every mod to a tier, partial support from a teir does work.

Clone this wiki locally