Mods / Black Sand Megapatch

Category: #Tweak
Author: OmegaHaxors
Side: Both
Created: Sep 11th 2022 at 3:36 PM
Last modified: Nov 8th 2022 at 12:40 PM
Downloads: 771
Follow Unfollow 17

Remember that Primitive Technology video? Of course you do. It was awesome.
The guy pulled black sand out of the river and made it into an iron bloom.

This mod adds Black Sand and Black Iron to the game. It's low-quality iron so it's only slightly better than copper, but it's much more commonly obtained from panning. A 50% chance to be exact. (Copper nuggets are 15% for reference. It's 3x as common.) First you get some while panning, then you put the black sand into a bloomery, and after breaking the bloomery to get your bloom you smash it with a hammer and a mold in your crafting grid and you will have some low quality T2 Black Iron tools to play with. This patch is going to be used for ELR to solve the problem of needing lots of copper for cables and not wanting to choose between copper chassis in an already copper-heavy mod or gating machines behing late-game progression. This mod brings iron to the early game, solving the problem once and for all, and more importantly does so without disrupting the game's native balance and progression. Since it's works as a standalone mod, anyone can download or use for their own crafting.

EDIT: Please note, the recent version is horribly broken and I don't know why or how to fix it. The gameplay still functions but the textures are all missing and the falx is completely missing a model. Eventually I'll get around to finding out a way to deal with that but for now here it is. Older versions had a Stone Hammer and a Wooden Anvil but those have been removed in favor of allowing the player to cast Black Iron directly in the crafting grid.

I have added the ability to craft a magnet out of magnetite nuggets and a temporal gear. You can use this and 4 black sand to create a single nugget of magnetite. It's not much but it does finally add a renewable source of iron to the game. Because you already need to have found and extracted magnetite (a pretty rare ore in its own right) this option only exists for players who have already reached the iron age. Using this method isn't as good durability per material compared to making black iron normally, but iron has better stats and can be upgraded to steel. If you have a means of making steel that kind of blows everything out of the water with its really high stats and 3x durability bonus over iron.

Thanks to MCRusher for finding a workaround for the broken textures. It won't fix all of it, but it will fix most of the issues:
"I managed to fix most of the textures by creating an assets/game/textures folder and then moving the item and block texture folders to that folder"

Version For Game version Downloads Release date Changelog Download
v2.1.0 180 Nov 8th 2022 at 12:40 PM Show blackiron.zip
v2.0.0 175 Oct 9th 2022 at 8:08 PM Show blackiron.zip
v1.2.0 139 Sep 20th 2022 at 4:50 PM Show blackiron.zip
v1.1.1 109 Sep 12th 2022 at 6:48 PM Show blackiron.zip
v1.1.0 48 Sep 12th 2022 at 6:20 PM Show blackiron.zip
v1.0.1 56 Sep 12th 2022 at 4:39 PM Show blackiron.zip
v1.0.0 64 Sep 11th 2022 at 3:39 PM Show blackiron.zip

18 Comments (oldest first | newest first)

💬 OmegaHaxors, Dec 9th 2022 at 9:41 PM

MCRusher
That's actually remarkably helpful, thank you for finding that out!!
Sadly it's an unacceptable solution since it requires file manipulation, but i'll add that to the main post so people can modify their game to use the proper models and textures.

💬 MCRusher, Dec 8th 2022 at 8:04 PM

Hey so I managed to fix most of the textures by creating an assets/game/textures folder and then moving the item and block texture folders to that folder

 

the spear and longsword (Which I don't think exists in 1.17) and their heads are still broken, but everything else seems to be properly textured now.

 

Maybe you'll find this helpful idk.

💬 OmegaHaxors, Nov 8th 2022 at 12:42 PM

Small update. Textures still broken (sorry) but now you can convert 4 black sand into a magnetite nugget.
However, in order to do this you first need 14 nuggets of magnetite and a temporal gear. You craft those into a magnet.
This magnet can be crafted alongside 4 black sand to create the magnetite nugget. The magnet is not consumed.

In other words, Black Iron is still very much an "early game iron" method, but this opens up a late-game use for the stuff.

💬 OmegaHaxors, Oct 9th 2022 at 8:08 PM

The previous version was a smoldering mess, here's a slightly less bad version.
Removed Flint hammer and Wooden anvil. Now you produce Black Iron tools using molds.
You get the mold back when you use it, but it now costs 20 durability on the hammer (to knock off all that slag)

I don't know why, but the textures are horribly broken in this version and I haven't been able to fix it.

💬 OmegaHaxors, Sep 30th 2022 at 2:32 AM

Had some time to play it, the redesign is going to have two major changes:
Add a small bloomery which is cheaper and can only do a single bloom.
Cast iron: Remove the stone hammer and wood anvil and allow the iron to be casted.
Probably a lowering of the stats somewhat, and the ability to upgrade to proper T4 iron.

💬 l33tmaan, Sep 24th 2022 at 2:51 PM

Gotcha, I'm hearing "don't download this right now".

💬 OmegaHaxors, Sep 24th 2022 at 7:23 AM

l33tmaan
Really depends on a lot of things.
The brutally complicated engine code of ELR has been taking up most of my time.
My losing interest in the game combined with personal drama is also a big deciding factor.

I can tell you when it won't be updated, and the answer to that is before they rework adding new metals to the game to be much easier.
Really the way it is now, a lot of it is tedious busywork which I can justify for a patch, but not for a full and proper release.

💬 l33tmaan, Sep 24th 2022 at 4:14 AM

How 'later' are you thinking about? I love mods that add more early-game options.

💬 OmegaHaxors, Sep 24th 2022 at 2:56 AM

Finally had a chance to playtest it and it does a great job reducing grind in the early game without being overpowered.
I think I would probably nerf the selection of tools you can make from black iron, it's a bit overwhelming to suddenly have access to so many.
Would also make a smaller and cheaper bloomery which takes the same amount of time to process but could only make one bloom at a time.
Then I will add some method to either purify black iron up to normal iron, or allow you to use black sand to produce normal iron that way.

Overall the mod gets the Haxorian Seal of Approval and I will be using this mod as a base for future mods that I make in the future.
Later on I'm going to rewrite the entire thing as a code mod to have full compatibility with other mods plus add some mechanics.

💬 OmegaHaxors, Sep 20th 2022 at 4:50 PM

Now has a modicon
Improved compatibility thanks to a trick discovered by TeacupAngel#2584

Should no longer break on pretty much every mod pack now.
EDIT: Seems to still break a lot. Oh well. I did what I could.

💬 OmegaHaxors, Sep 20th 2022 at 4:01 AM

PhoenixMastM
No excuses. Get to it.

💬 PhoenixMastM, Sep 19th 2022 at 10:22 PM

If I had the time or the programming knowledge I would. Unfortunately I don't.

I know it aint easy to make mods, but I didn't claim this to be easy, just that it was possible. And you can always just say "thanks for the suggest, not gonna do it".

💬 OmegaHaxors, Sep 18th 2022 at 5:15 PM

PhoenixMastM
That sounds like a cool idea, you should program it.

💬 PhoenixMastM, Sep 17th 2022 at 4:53 PM

Should be able to code in the ability to use either Borax or Lime as a flux to re-smelt the ore into T3/T4 iron as well, technically speaking that sand is just Magnetite that's been placered out into the rivers. Most iron, even the low quality impure stuff you find in the rivers, can be purified with smelting, flux, and a buttload of carbon (charcoal or black coal, lignite would not work).

You could set it up so that it would take about 1000 bits of shite iron, with maybe 20 units of lime/borax and 20 charcoal to produce 1 iron ingot. Time consuming, and somewhat expensive, but could be worth it if you're not having luck deep in the pits.

💬 OmegaHaxors, Sep 13th 2022 at 7:33 AM

Due to the limitations in the patching system, and the size of the patch, it isn't likely to be compatible with a lot of mods that also rely on patching. There's literally nothing I can do about this, over half the patch is just working around game/patching limitations. Until the core game learns to handle multiple patches you're just going to have to disable mods until it works. From what I hear there's work in progress for such a system, and i've also petitioned for a better system for handling adding new metals which should be implimented soon. When that happens, i'll rewrite the patch and it will likely be far more efficient and less likely to break. This much more of a political statement on the horrible state of JSON modding than anything.
Malus rboys2

💬 Malus, Sep 13th 2022 at 4:10 AM

I must not be lucky either, not only are the handbook textures missing, black iron itself (and it's sand from panning) do not seem to exist. I've panned about 600 blocks and gotten a bunch of nice shinies, but not a single bit of Black Iron.

💬 rboys2, Sep 13th 2022 at 2:07 AM

In my world it would seem everythings not textured?

💬 OmegaHaxors, Sep 12th 2022 at 4:41 PM

Finally fixed the glitchs. Turns out it was a fundemental error with how JSON parsing is handled.
Now that I understand the glitch at hand, I was able to work around it. Mod is now fully functional.

(edit comment delete)