Je reviens vers vous pour la solution de la génération dans le Nether, merci à robin pour l’aide précieuse.
private void generateNether(World world, Random rand, int chunkX, int chunkZ)
{
for (int i = 0; i < 50; i++)
{
final Predicate predicate;
int yMin = 4;
int yMax = 180;
int randPosX = chunkX + rand.nextInt(16);
int randPosY = yMin + rand.nextInt(yMax - yMin);
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(EmotionBlocks.purpuraBlock.getDefaultState(), 14,
BlockHelper.forBlock(Blocks.netherrack))).generate(world, rand, new BlockPos(randPosX, randPosY, randPosZ));
}
}