ZalienFuel
One fuel of every kind. A NeoForge mod for Minecraft 1.21.1 that ends duplicate fuel fluids in modpacks.
Minecraft 1.21.1 · NeoForge 21.1 · MIT · early development
What it does
Big modpacks ship the same fuel many times. Create: The Factory Must Grow, Create Diesel Generators, PneumaticCraft, Oritech, Modern Industrialization and others each register their own diesel, gasoline, crude oil, kerosene, naphtha and LPG. In game that means:
- five different "Diesel" fluids that don't mix in one tank,
- an engine from one mod refusing diesel refined by another,
- JEI full of near-identical fluids and buckets.
ZalienFuel does for fuels what AllTheOres + Almost Unified do for ores. It replaces the other mods' fuels:
- It registers one canonical fluid per fuel type (table), with bucket and
c:tags. - Every recipe of every other mod that produces or consumes one of the replaced fluids (or its bucket) is rewritten on load to use the ZalienFuel one, including KubeJS recipes.
- Machines that hardcode their own fluid (TFMG pumpjack and oil worldgen, Immersive Engineering and Railcraft coke ovens, MorePropulsion centrifuge, Modern Industrialization compostable plant oil) are redirected with small mixins.
- Oil in world generation (PneumaticCraft lakes, Oritech springs, TFMG wells and deposits) is ZalienFuel crude oil.
- The replaced fluids and buckets are hidden from JEI.
- Leftovers in tanks and buckets can be converted 1:1 in game (crafting table and Create mixer).
Fuels that are unique to one mod (Oritech turbofuel and biofuel, Integrated Foregoing biofuel, EnderIO rocket fuel, Modern Industrialization intermediates, TFMG propane/butane, ...) are left alone.
Installation
- Requires Minecraft 1.21.1 and NeoForge 21.1.x.
- Put
zalienfuel-<version>.jarin themods/folder on both the server and every client (fluids are registered blocks and items). - Start the game. No other setup is required.
Adding to an existing world
- Fluids already sitting in tanks stay what they were (there is no automatic migration). Machines keep accepting the old fluids where they used tags; run them through a conversion recipe to turn them into ZalienFuel.
- Oil lakes and springs that are already generated stay as the old mod's oil; only new chunks get ZalienFuel crude oil.
- Removing ZalienFuel later deletes its fluids from tanks and buckets, as with any mod that adds fluids.
Explore
Fuels
Converting old fuels
Oil Scanner
Electric Heaters
Configuration
Admin commands
Source, bugs and license
- Source: git.zatto.pl/ZalienCraft-mods/ZalienFuel.
- Bugs and ideas: open an issue. Include the mod list
(or modpack name and version), what you did, and the
latest.log. - License: MIT. You can use ZalienFuel in any modpack.
Building from source
Requires JDK 21.
./gradlew build # jar in build/libs/
./gradlew runClient # development clientThe per-mod mixins target classes by name (@Pseudo), so no third-party jar is needed to compile. To check them,
put the target mods in a NeoForge 21.1.250 server's mods/ together with the built jar and start it: each hook logs
Applied <Mixin> to <class> and, once the server is up, Mixin OK/Mixin NOT applied.