Flowstone
Flowstone is a mod that makes ores renewable resources.
In vanilla Minecraft, lava flowing over water always generates a stone block. With Flowstone, there is a chance that it will generate a random ore block instead.
By default, all eight vanilla overworld ore blocks (coal, copper, iron, gold, lapis, redstone, emerald, and diamond) can be generated with a 1% chance each.
(In the GIF, each ore block has a 100% chance for example purposes.)
Generators
Flowstone uses a custom flowstone:generators
dynamic registry to determine whether and how to replace an about-to-be-generated block.
Said registry reads files from /data/<mod id or datapack name>/flowstone/generators
, files like the following example.
Example: stone_to_coal_ore.json
{
"replace": "minecraft:stone", // The block to be replaced
"with": "minecraft:coal_ore", // The block to replace the above one with
"chance": 0.01 // The replacement chance
}
This way, through datapacks, one can easily extend Flowstone to, for instance, account for modded ores.
Datapacks
Flowstone offers three built-in datapacks to enable/disable to add or remove generation options.
-
Overworld Ores (enabled by default) adds a 1%-per-ore chance for lava flowing over water to generate an overworld ore instead of stone.
-
Crying Obsidian (disabled by default) adds a 25% chance for water flowing over a lava source to generate crying obsidian instead of obsidian.
-
Netherrack and Nether Ores (enabled by default) adds a chance for lava flowing over soul soil (and near blue ice) to generate, instead of basalt, netherrack with a 100% chance, nether gold and quartz ore with 10% each, and ancient debris with a 1% chance.
Plus, these datapacks offer good examples on how to create more.
External resources
Featured versions
See allProject members
Niv Oridocs
Owner