I have an ore I wish to generate less than once per chunk. This is what I came up with to do that. I'm wondering if this will have the intended effect and whether this might break anything else by changing the chunkX and chunkZ 16's to larger numbers. Thanks in advance!
for(int i=0; i < 1; i++)
{
int chunkX = x + random.nextInt(32);
int chunkY = random.nextInt(40);
int chunkZ = z + random.nextInt(32);
(new WorldGenMinable(SudokuuMain.rarite, 5)).generate(world, random, chunkX, chunkY, chunkZ);
}