Mods / Crude Oil

Category: #Worldgen
Author: Buggi
Side: Both
Created: Jun 2nd 2022 at 7:58 PM
Last modified: Apr 10th 2023 at 10:10 PM
Downloads: 1157
Follow Unfollow 23

Latest file for v1.18.0-rc.2: 1-click install

A simple mod that adds Crude Oil to world generation. Only appears in sedimentary rock so it can be hard to find. Once you find it though, you can literally say you struck oil.

Why make a mod that adds something without a use? Why for all the OTHER mods that can be made that can use it. That's why this is a stand-alone mod. 

The math for a block works out rather well, a single block contains 1000 liters, an oil portion is 1 ml. A bucket holds 10 liters. So no more need to calculate millibuckets :)

Anyone out there wanting to make a pump can use those values to ensure to get the entire volume before swapping the block with air. Liquid blocks currently do not have unique attributes as they don't have a Block Entity so a pump must take all 1000 liters before clearing the block.


Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.3.2 383 Apr 10th 2023 at 10:10 PM Show Install now
v1.2.1 310 Aug 31st 2022 at 11:43 PM Show Install now
v1.2.0 163 Aug 31st 2022 at 10:16 PM Show Install now
v1.0.0 301 Jun 2nd 2022 at 7:58 PM Show Install now

8 Comments (oldest first | newest first)

💬 Moby_, Apr 16th 2023 at 9:49 AM

This is great!
I have to add support for this to ChemistryLib (and my WIP mod about internal combustion engines)

💬 BuggiAuthor, Apr 10th 2023 at 10:11 PM

Good lord. Turns out the code was needed to register the block class after all. So compiled it for 1.18 and this saga of false starts is over for now.

💬 BuggiAuthor, Apr 10th 2023 at 9:36 PM

Update 1.3 removes the C# Code part of the mod as it is unused. Was hoping to get it to somehow generate surface 'gysers' of oil but no idea how to get that to work. Anyone with world-gen experience out there willing to help? Code and mod is on Github, check the source link at the top.

Mod is now json only and should be compatable with most future game versions.

💬 BuggiAuthor, Oct 5th 2022 at 9:40 PM

Not going for realistic here... it is a game after all. If you wanted real, make your world 30 miles thick (like 53,000 blocks) and make oil spawn about 1700 blocks down from the surface.

💬 HiggsBonbon, Sep 5th 2022 at 8:34 PM

Just FYI, oil is very rarely in open reservoirs, but rather trapped in porous rock; considering a fluid can now occupy the same space as a block, I'd suggest making it so oil spawns in something like "porous sandstone" deposits, probably sandwiched between the upper strata and the lower igneous strata, along with bituminous coal seams.

💬 OmegaHaxors, Sep 1st 2022 at 1:16 AM

This seems perfect for Electrical Revolution. Thanks for making this.
Now we just need someone to make an oil refining mod, hah.

💬 BuggiAuthor, Aug 30th 2022 at 10:47 PM

I wanted to keep it VERY simple. That way other mods can use it however they want without this mod adding any use.

💬 Travisplo, Jul 18th 2022 at 10:43 PM

So, has anyone used this for anything yet? Surprised there isn't a single use in the mod, like some sort of Oil Burner for using oil to cook things as a single use default for the mod.

(edit comment delete)