Ores not spawning in nether

Started by maxde6 on Thu, 02/02/2017 - 01:22

Topic category: User side tutorials

Last seen on 17:50, 13. Jul 2019
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ores not spawning in nether
Thu, 02/02/2017 - 01:22

I tried making an ore that would spawn in the nether, however it didnt spawn in the nether

Last seen on 18:48, 3. Jun 2019
Joined May 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
public void generateNether
Tue, 05/09/2017 - 21:04

public void generateNether(World world, java.util.Random rand, int chunkX, int chunkZ){
for(int i = 0; i < 23; i++){
int randPosX = chunkX + rand.nextInt(16);
int randPosY = rand.nextInt(256)+0;
int randPosZ = chunkZ + rand.nextInt(16);
(new WorldGenMinable(mcreator_netherrockbrillante.block, 10, Blocks.netherrack)).generate(world, rand, randPosX, randPosY, randPosZ);
}
}

 

if you have the 1.4.9 add the "Blocks.netherrack"

(new WorldGenMinable(mcreator_netherrockbrillante.block, 10, <<<HERE>>>)).generate(world, rand, randPosX, randPosY, randPosZ);

 

for MCreator 1.7.5 i dont'know, i wait a guide