I've run into a problem when writing my first mod.
I'm trying to get my ore to generate but no matter what I try it won't show in the world.
This is the code I'm using to generate my ore in the world (everything in my mod_ file seems to be set up fine)
public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
{
for(int L = 0; L < 5; L++)
{
int i1 = chunkX + rand.nextInt(16);
int j1 = rand.nextInt(20);
int k1 = chunkZ + rand.nextInt(16);
new WorldGenMinable(voidOre.blockID, 4).generate(world, rand, i1, j1, k1);
}
}
any advice??