Minecraft - finding an ore
I have written a mod to produce a new ore which is working great. Then I added some more code so that veins of this ore would be randomly generated. I cannot tell if this is working as I cannot find any veins.
Is there a cheat in vanilla minecraft that could help me find a vein?
Many thanks
Best Answer
One possible testing solution could be to edit your texture file and turn everything except for your new ore transparent. Then whenever you want to see where the ore has been placed, change skins back and forth between the transparent one and the original.
This solution isn't directly vanilla, but it is at least within the bounds if vanilla by just being a texture pack.
Pictures about "Minecraft - finding an ore"



Can you locate ores in Minecraft?
Knowing this, it becomes much easier to know where to go to find ores. Minecraft considers sea level to be at block 62, and clouds start generating at block 128. Most ores are found below sea level, and no ores will be found above cloud level.What is the easiest way to find ore?
Even though emerald ores are more common now, diamond and emerald ores are still the rarest Overworld ores. In Minecraft 1.18, emerald ores generate only in the mountains and the windswept hills biome. It can generate at any level between Y -16 and 256. Diamonds spawn in every Overworld biome but have a smaller range.Where do you find rare ore in Minecraft?
To find redstone, dig down about sixty blocks in the desert, and create a floor. For Lapiz lazuli, dig until you find a ravine deep underground, and explore it. Abandoned mineshafts can also be good places to search. To obtain gold, dig down to Y coordinate 29 or below and start mining.How To Find Any Ore In Minecraft 1.19+
More answers regarding minecraft - finding an ore
Answer 2
The simplest and most reliable way is to simply print each ore vein's coordinates to the console when it's generated, so you merely have to enter creative mode and teleport yourself to one of the veins. This way, you'll get every single vein reliably and just by adding a single line of code to the ore generation.
Answer 3
Just make the ore generate 1000 times per chunk! That's what I did. I then changed it back to 10 times per chunk for the actual mod release (it's in beta testing with my friends right now). If it spawns 1000 times a chunk, it'll be really easy to find.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska
