Ores mods, a complete list

Post Reply
User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Ores mods, a complete list

by Hamlet » Post

I would like to know which mods add new ores to Minetest Game, because I have been working on my Ores' Statistics mod (which is temporarily not available for download) and I would like to make it support everyone of them.

At the moment I know:
Please let me know if there are any others, or if there is already such list somewhere!
Last edited by Hamlet on Tue May 15, 2018 12:21, edited 1 time in total.
My repositories: Codeberg.org | My ContentDB's page

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Ores mods, a complete list

by Nathan.S » Post

Technic adds some ores.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: Ores mods, a complete list

by GreenXenith » Post

GloopTest Pack has a GloopOres module.
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: Ores mods, a complete list

by Hamlet » Post

Nathan.S wrote:Technic adds some ores.
Added, thank you.

Quick preview:
Stone with coal: 703771 (31.576%)
Stone with iron: 617804 (27.719%)
Stone with copper: 227100 (10.189%)
Stone with tin: 151383 (6.792%)
Stone with gold: 66726 (2.994%)
Stone with mese: 52038 (2.335%)
Stone with diamonds: 33357 (1.497%)
Technic uranium: 957 (0.043%)
Technic chromium: 28448 (1.276%)
Technic zinc: 118770 (5.329%)
Technic lead: 228436 (10.249%)
Total ores found: 2228790
My repositories: Codeberg.org | My ContentDB's page


twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: Ores mods, a complete list

by twoelk » Post

not a list of node names but running grep through my collection of local github folders looking for the expression "register_ore" , I get this list.

Code: Select all

\games\MineTest\commonfiles\GitHub\australia\README.md
\games\MineTest\commonfiles\GitHub\australia\biome_arnhem_land.lua
\games\MineTest\commonfiles\GitHub\australia\biome_australian_alps.lua
\games\MineTest\commonfiles\GitHub\australia\biome_central_australia.lua
\games\MineTest\commonfiles\GitHub\australia\biome_eastern_coasts.lua
\games\MineTest\commonfiles\GitHub\australia\biome_flinders_lofty.lua
\games\MineTest\commonfiles\GitHub\australia\biome_goldfields_esperence.lua
\games\MineTest\commonfiles\GitHub\australia\biome_great_australian_bight.lua
\games\MineTest\commonfiles\GitHub\australia\biome_great_barrier_reef.lua
\games\MineTest\commonfiles\GitHub\australia\biome_great_dividing_range.lua
\games\MineTest\commonfiles\GitHub\australia\biome_gulf_of_carpentaria.lua
\games\MineTest\commonfiles\GitHub\australia\biome_indian_ocean.lua
\games\MineTest\commonfiles\GitHub\australia\biome_jarrah_karri_forests.lua
\games\MineTest\commonfiles\GitHub\australia\biome_kimberley.lua
\games\MineTest\commonfiles\GitHub\australia\biome_pilbara.lua
\games\MineTest\commonfiles\GitHub\australia\biome_tasman_sea.lua
\games\MineTest\commonfiles\GitHub\australia\biome_timor_sea.lua
\games\MineTest\commonfiles\GitHub\australia\biome_underground.lua
\games\MineTest\commonfiles\GitHub\australia\biome_victorian_forests.lua
\games\MineTest\commonfiles\GitHub\australia\mapgen.lua
\games\MineTest\commonfiles\GitHub\lapis\init.lua
\games\MineTest\commonfiles\GitHub\minetest_life\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\moreores\init.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\moreores\mg.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\quartz\init.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\display_blocks\init.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\display_blocks\technic.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\display_blocks\uranium.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\blox\init.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\glooptest\ore_module\api.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\glooptest\ore_module\init.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\technic\technic_worldgen\mg.lua
\games\MineTest\commonfiles\GitHub\_minetest-mods\technic\technic_worldgen\oregen.lua
\games\MineTest\commonfiles\GitHub\_tenplus1\ethereal\ores.lua
\games\MineTest\commonfiles\GitHub\_tenplus1\lapis\init.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\adventuretest\mods\glowcrystals\init.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\adventuretest\mods\mg\ores.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\landrush_game\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\landrush_game\mods\moreores\init.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\landrush_game\mods\moreores\mg.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\landrush_game\mods\technic\technic_worldgen\mg.lua
\games\MineTest\commonfiles\GitHub\_Bremaweb\landrush_game\mods\technic\technic_worldgen\oregen.lua
\games\MineTest\commonfiles\GitHub\_mobs\mobs_nssm\nssm_materials.lua
\games\MineTest\commonfiles\GitHub\_mobs\mobs_mc\silverfish.lua
\games\MineTest\commonfiles\GitHub\_mobs\advanced_guards\license.txt
\games\MineTest\commonfiles\GitHub\_mobs\worm\stone_eater.lua
\games\MineTest\commonfiles\GitHub\_games\farlands\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\farlands\mods\mapgen\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\farlands\mods\fruit\init.lua
\games\MineTest\commonfiles\GitHub\_games\MineClone2\mods\ENTITIES\mobs_mc\silverfish.lua
\games\MineTest\commonfiles\GitHub\_games\MineClone2\mods\MAPGEN\mcl_biomes\init.lua
\games\MineTest\commonfiles\GitHub\_games\MineClone2\mods\MAPGEN\mcl_mapgen_core\init.lua
\games\MineTest\commonfiles\GitHub\_games\minetest_game\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\aftermath\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\aftermath\mods\seawrecks\init.lua
\games\MineTest\commonfiles\GitHub\_games\tps_skyblock (Cat5TV)\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\tps_skyblock (shivajiva101)\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\server-minetestforfun-skyblock\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\australian_alps.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\central_australia.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\deep_underground.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\eastern_coasts.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\far_north_queensland.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\flinders_lofty.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\great_australian_bight.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\great_barrier_reef.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\indian_ocean.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\jarrah_karri_forests.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\mulga_lands.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\murray_darling_basin.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\nullabor_plains.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\pilbara.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\tasman_sea.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\tasmania.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\timor_sea.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\top_end.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\underground.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\biomes\victoria.lua
\games\MineTest\commonfiles\GitHub\_games\outback\mods\MAPGEN\mapgen_core\init.lua
\games\MineTest\commonfiles\GitHub\_games\formspec_viewer\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\station17\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\duane_world\fun_caves\init.lua
\games\MineTest\commonfiles\GitHub\_games\duane_world\loud_walking\nodes.lua
\games\MineTest\commonfiles\GitHub\_games\duane_world\squaresville\caves.lua
\games\MineTest\commonfiles\GitHub\_games\duane_world\squaresville\nodes.lua
\games\MineTest\commonfiles\GitHub\_games\duane_world\noore\init.lua
\games\MineTest\commonfiles\GitHub\_games\LegendofMinetest\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\LegendofMinetest\mods\hell\init.lua
\games\MineTest\commonfiles\GitHub\_games\LegendofMinetest\mods\hyrule_mapgen\mapgen.lua
\games\MineTest\commonfiles\GitHub\_games\LegendofMinetest\mods\quartz\init.lua
\games\MineTest\commonfiles\GitHub\_games\dcbl\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\_paramat\moonrealm\mapgen.lua
\games\MineTest\commonfiles\GitHub\_paramat\newbiomes\init.lua
\games\MineTest\commonfiles\GitHub\_paramat\planets\mapgen.lua
\games\MineTest\commonfiles\GitHub\_pithydon\fdecor\init.lua
\games\MineTest\commonfiles\GitHub\worm\stone_eater.lua
\games\MineTest\commonfiles\GitHub\darkage\mapgen.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\bedrock\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\blox\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\display_blocks\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\display_blocks\technic.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\display_blocks\uranium.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\glooptest\ore_module\api.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\glooptest\ore_module\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\moreores\mg.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\moreores\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\quartz\init.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\technic_worldgen\mg.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\technic_worldgen\oregen.lua
\games\MineTest\commonfiles\GitHub\dreambuilder_modpack\titanium\init.lua
\games\MineTest\commonfiles\GitHub\fruit\init.lua
\games\MineTest\commonfiles\GitHub\freeminer\build\debian\changelog.upstream
\games\MineTest\commonfiles\GitHub\freeminer\builtin\game\register.lua
\games\MineTest\commonfiles\GitHub\freeminer\doc\lua_api.txt
\games\MineTest\commonfiles\GitHub\freeminer\games\minimal\mods\default\mapgen.lua
\games\MineTest\commonfiles\GitHub\freeminer\src\script\lua_api\l_mapgen.cpp
\games\MineTest\commonfiles\GitHub\freeminer\src\script\lua_api\l_mapgen.h
\games\MineTest\commonfiles\GitHub\LapisLazuli\init.lua
\games\MineTest\commonfiles\GitHub\Forest\init.lua
\games\MineTest\commonfiles\GitHub\Forest\ores.lua

May need some editing ;-P
but you might get an idea of some more places to look. Krocks mod search tool might be usefull here.

searching for "register _ore" directly in minetest-mods on github reveals this:
https://github.com/search?utf8=%E2%9C%9 ... &type=Code

you could also parse the color.txt files such as:
https://github.com/minetest/minetestmap ... colors.txt
viewtopic.php?p=237743#p237743
http://daconcepts.com/vanessa/hobbies/m ... colors.txt
https://github.com/jasonjayr/xaagle-col ... colors.txt
https://github.com/adrido/minetest-mapp ... colors.txt

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: Ores mods, a complete list

by Hamlet » Post

Thanks to everybody for your help, I didn't thought that there were so many!
I've uploaded my mod, currently it supports just the default ores because it seems that it will take a good amount of time to support all the others.
My repositories: Codeberg.org | My ContentDB's page

User avatar
TechNolaByte
Member
Posts: 465
Joined: Wed May 10, 2017 21:00
GitHub: TechNolaByte

Re: Ores mods, a complete list

by TechNolaByte » Post

ever thing about minetest.registerd_ores?
The great quest of alchemy neither failed nor attained gold; programmers are those great alchemists who transmute caffeine into code.

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: Ores mods, a complete list

by Desour » Post

he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: Ores mods, a complete list

by ShadMOrdre » Post

You can include lib_materials. It includes Darkage, Technic, Rocks/Minerals, Quartz, and others, conveniently combined into a single mod.

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: Ores mods, a complete list

by Hamlet » Post

RSLRedstonier wrote:ever thing about minetest.registerd_ores?
Thanks for the hint, I have tried it to fetch them using this example: lua_api.txt

A working example:

Code: Select all

--[[
	Ores List - Fetches the registered ores and adds them to a list.
	Copyright © 2019 Hamlet <hamlatmesehub@riseup.net> and contributors.

	Licensed under the EUPL, Version 1.2 or – as soon they will be
	approved by the European Commission – subsequent versions of the
	EUPL (the "Licence");
	You may not use this work except in compliance with the Licence.
	You may obtain a copy of the Licence at:

	https://joinup.ec.europa.eu/software/page/eupl
	https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32017D0863

	Unless required by applicable law or agreed to in writing,
	software distributed under the Licence is distributed on an
	"AS IS" basis,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
	implied.
	See the Licence for the specific language governing permissions
	and limitations under the Licence.

--]]


-- Local variable
local ores_list = {}

---
--- Local functions
---

-- Used to extract the node's name from a nodestring
local ExtractNodeName = function(nodestring)
	local colon_index = (string.find(nodestring, ":") + 1)
	local node_name = string.sub(nodestring, colon_index)

	return node_name
end

-- Parse the registered ores and populate a list
local ScanForOres = function()
	local ores_found = minetest.registered_ores
	--print(dump(ores_found))

	for _, value in pairs(ores_found) do

		if minetest.registered_nodes[value.wherein] then
			local already_listed = false

			--print("Ore found: " .. value.ore)

			for element = 1, #ores_list do
				if (ores_list[element] == ExtractNodeName(value.ore)) then
					already_listed = true
				end
			end

			if (already_listed == false) then
				table.insert(ores_list, ExtractNodeName(value.ore))
			end
		end
	end
end

ScanForOres()
print(dump(ores_list))

It allows to dynamically create a list of ores, but it can't be used with Ores Stats: it is not possible to dynamically create local variables to store the found ores' names, amounts, etc.

Therefore I've decided to stop development at the point it currently is; the source code is self explanatory, I believe that anyone willing to add new ores to it will be able to do so pretty easily.
My repositories: Codeberg.org | My ContentDB's page

ThorfinnS
Member
Posts: 311
Joined: Mon Feb 25, 2019 22:05
GitHub: ThorfinnS

Re: Ores mods, a complete list

by ThorfinnS » Post

Hamlet wrote:it is not possible to dynamically create local variables to store the found ores' names, amounts, etc.
That's what tables are for.

If you are going to include unique_ores and random_ores, you would have to do the dynamically-generated list. Check out how Shad did his lib_trm.

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: Ores mods, a complete list

by Hamlet » Post

ThorfinnS wrote:
Hamlet wrote:it is not possible to dynamically create local variables to store the found ores' names, amounts, etc.
That's what tables are for.

If you are going to include unique_ores and random_ores, you would have to do the dynamically-generated list. Check out how Shad did his lib_trm.
Feel free to open a pull request, be sure to include localization support.
My repositories: Codeberg.org | My ContentDB's page

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests