Extreme Reactors

Extreme Reactors

75M Downloads

💡 [Feature Request] Allow custom coil blocks via tags, datapacks or KubeJS API

JoeDalton9027 opened this issue · 1 comments

commented

Hello, and first of all — thank you for your excellent work on Extreme Reactors 2.

I'm currently building a high-end configuration with custom coil blocks in Minecraft 1.21.1 using KubeJS, to balance the turbine’s performance around blocks like Blutonium, Cyanite, or even custom materials such as redstone

However, I’ve noticed that:

The turbine only accepts a defined list of hardcoded metal blocks (like gold or iron),

It seems impossible to register new coil blocks via KubeJS or datapacks.

✅ I would like to suggest the following improvements:

Enable datapack-based coil registration

For example:

{
  "type": "extremereactors:coil",
  "block": "c:storage_blocks/diamond",
  "efficiency": 1.xxxxxx,
  "energyExtractionRate": 1.xxxxxx
  "bonus": 1.xxxxxx
}

Expose a registry via KubeJS or an API

Similar to:

StartupEvents.registry('extremereactors:coil_part', event => {
  event.create('c:storage_blocks/diamond')
    .efficiency(1.xxxxxx)
    .energyExtractionRate(1.xxxxxx)
    .bonus(1.xxxxxx)
})

🛠 Why this matters:
Modern modpacks and automation systems (like KubeJS, Create, or Thermal) rely heavily on tags and dynamic block registrations.
Being able to register custom coils would unlock tons of flexibility for modpack makers, allowing more complex and rewarding turbine setups — even rivaling Mekanism’s fusion reactors in a balanced way.

As a workaround, I tried using tags like c:storage_blocks/blutonium, but the turbine ignores them.
This confirms that the coil block list is hardcoded.

Thanks again for your amazing work — I hope this feature can be considered.

Best regards