Immersive Engineering

Immersive Engineering

134M Downloads

[1.16.5 Feature Request] Datapack driven fuel values

MuteTiefling opened this issue · 4 comments

commented

Tossing out the template as this is not a crash/bug.

Description of the request:

Per discussion on Discord with Malte, it would be lovely if registering fuels and burn times could be handled through Datapacks rather than strictly through the API. Ideally both for the Diesel Gen and Drill. Thermogen could be a nice candidate too for adding custom hot/cold blocks.

commented

Implemented on 1.17 in 41f8674, 4e12b8d and 830c24d. I'm not entirely sure whether I'll backport it to 1.16 yet, I'd need to make sure the old API keeps working (which I didn't need to worry about on 1.17).

commented

If not possible to do in 1.16, would it at least be possible to have a way to override existing values via the API? I have a functional script for adding fuel values, but I can't seem to touch the base diesel values at all.

commented

I've backported the drill- and generator fuel changes (54af880 and 987a23d); the thermoelectric generator would be a lot harder for annoyingly technical reasons, so I won't backport that.

commented

Lovely, thanks!