Kinda - from digging around the game files, it looks like resources bias towards different surface block types, altitudes, and other variables, but there’s some randomness involved too.
For example, given the settings for gold (in that linked file, and pasted below), and @james’ helpful hint, here’s how I interpret it:
- Gold is most likely to spawn under surface sand - (
surfaceFavourite
)- It also has a chance to spawn under surface dirt - (
surfaceSecondFavourite
)
- It also has a chance to spawn under surface dirt - (
- It prefers spawning…
- …30+ blocks under the surface (
blocksAboveMin
?) - …15+ blocks away from caves (
distanceMin
?) - …at an altitude of 100+ (
altitudeBestLower
)
- …30+ blocks under the surface (
So you’re looking for desert mountains that reach up to an altitude of 130+, and you want to start digging into them at around 100+, I think
Here’s the gold specific settings from that file. The servers might have different values, so take it with a grain of salt:
"METAL_GOLD_SEAM": {
"shape": "VEIN",
"sizeMin": 5,
"sizeMax": 15,
"altitudeMax": 255,
"altitudeMin": 0,
"altitudeBestLower": 100,
"altitudeBestUpper": 255,
"blocksAboveMax": 200,
"blocksAboveMin": 30,
"blocksAboveBestLower": 50,
"blocksAboveBestUpper": 130,
"distanceMax": 200,
"distanceMin": 15,
"distanceBestLower": 25,
"distanceBestUpper": 130,
"surfaceFavourite": "SAND",
"surfaceSecondFavourite": "DIRT",
"liquidFavourite": "WATER",
"liquidSecondFavourite": "WATER",
"caveWeighting": 1,
"threeDWeighting": 1,
"liquidAboveMax": 64,
"liquidAboveMin": 0,
"liquidAboveBestLower": 0,
"liquidAboveBestUpper": 64
},