Immersive Engineering

Immersive Engineering

134M Downloads

[1.16.5] Adding a fluid as a biodiesel generator fuel?

SanjivanM opened this issue ยท 3 comments

commented

Is there a way to add a fluid, eg. minecraft:lava as a fuel for the Biodiesel generator? I've looked through the scripts and data folders but can't seem to find a datapack/ CraftTweaker script/ API usage "template" to use. I see that common/IERecipes.java has a "generator_fuel" recipe type, but I can't seem to find where/ how that's implemented

commented

wait... nevermind... looks like I found the datapack format while browsing through the commit changes here (987a23d)

commented

Well, I thought I had it, and closed this too soon lol. The following code does not seem to be working, and instead, logs an error in latest.log

ethanol.json: (placed in myDataPack\data\immersiveengineering\recipes\generator_fuel
(yes, the data pack was zipped before I added it into my world)
{"type":"immersiveengineering:generator_fuel","fluidTag":"forge:ethanol","burnTime":500}

The error logged:
com.google.gson.JsonSyntaxException: Invalid or unsupported recipe type 'immersiveengineering:generator_fuel'
Latest.log file, error is at around line 100090
latest.log

commented

You're using an outdated version of IE.