Ore spawn rates

Post Reply
monoanemo81
New member
Posts: 2
Joined: Thu Oct 03, 2019 16:10

Ore spawn rates

by monoanemo81 » Post

I've been trying to figure out how to change the spawn rates for ores. All I've found are discussions about making new ores through mods. Any help would be nice.

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: Ore spawn rates

by sfan5 » Post

Ore registration happens here in minetest_game:
https://github.com/minetest/minetest_ga ... n.lua#L413
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: Ore spawn rates

by Wuzzy » Post

Ore registration happens here in minetest_game:
https://github.com/minetest/minetest_ga ... n.lua#L413
Translation: You cannot change ore spawn rates unless you're a programmer or you know someone who will code it for you.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Ore spawn rates

by paramat » Post

Yes, the ore documentation needs examples as it is very difficult to work out how to format a registration for a particular ore. I'll make a note ...

monoanemo81
New member
Posts: 2
Joined: Thu Oct 03, 2019 16:10

Re: Ore spawn rates

by monoanemo81 » Post

Thank you.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], rudzik8 and 16 guests