3 mai 2014, 15:59

Essayes comme ceci:

private void generateNether(World world, Random random, int blockX, int blockZ)
{
for(int i=4;i<64;i++)
{
int Xcoord = blockX + random.nextInt(16);
int Ycoord = random.nextInt(15);
int Zcoord = blockZ + random.nextInt(16);
(new WorldGenMinable(ModRedcobble.blockRedcobble, 2 + random.nextInt(3))).generate(world, random, Xcoord, Ycoord, Zcoord);
}
}