Skip to content

IndustrialJS & KubeJS Integration

Welcome to the IndustrialJS documentation for IndustrialCraft 2: Refactored!

IndustrialJS is a high-performance, native integration layer designed specifically for KubeJS and modpack developers. It provides deep, real-time control over IC2's recipes, machine processing speeds, generators, nuclear reactor physics, radiation mechanics, electric armor, flying jetpacks, audio muting, crop breeding, and cross-mod energy conversion.


Key Features

  • Zero-Code Balancing: Configure global energy ratios, machine speed multipliers, generator outputs, and custom recipes using simple JSON files (config/industrialjs/) without writing a single line of JavaScript.
  • Fluent KubeJS API: Create recipes and tweak machine parameters directly from server_scripts with autocomplete-friendly chaining (IndustrialJS.recipes().macerator(...)).
  • Complete Nuclear & Reactor Physics: Adjust reactor heat generation, output multipliers, explosion mechanics, and add custom Uranium and MOX fuel rods.
  • Dynamic Radiation & Hazmat System: Turn any mod item into a radioactive hazard and register custom armor sets as full hazmat suits with 1 line of code.
  • In-Game Hot Reloading: Edit configs or scripts and run /reload — all recipes, multipliers, and behaviors update immediately without restarting Minecraft!

Documentation Categories

Page Description
Zero-Code JSON Configuration Balance machines, generators, and add recipes via config/industrialjs/ JSON files.
Quick Start & Syntax Setting up KubeJS scripts, accessing the IndustrialJS global, and input/output syntax.
Recipe Creation API Detailed guide for all 13 machine recipe types (Macerator, Blast Furnace, Canning, etc.).
Machinery & Generators Machine speeds, EU per tick, Solar Panel outputs, audio muting, and Batch Crafter stats.
Energy Grid & Storage Custom EU-to-FE conversion ratios, BatBox/CESU/MFE/MFSU capacity, and transfer limits.
Tools, Drills & Jetpacks Drill speeds, Chainsaw power, Nano Saber damage, Mining Laser grief prevention, and jetpack physics.
Armor, Hazmat & Radiation Electric armor damage absorption, Quantum Suit jump/sprint/void rescue, Hazmat gear, and radiation checks.
Nuclear Reactors & Mechanics Reactor output and meltdown safety, Kinetic Rotors, Upgrades, Crop Breeding, and Teleportation.
Complete Script Example Full, copy-pasteable server_scripts/ic2_custom.js template and Master API table.
Full Single-Page Guide The complete, unedited guide on a single page for offline reading or quick Ctrl+F searching.