I got a good Idea for a Structure based Mod . But for those Structures i need to have a completely empty World . And if i Empty the World with :
for(int j=0;j<16;j++)
{
for(int k=0;k<16;k++)
{
for(int i=0;i<256;i++)
{
world.setBlockState(new BlockPos(j+(chunkX*16),i,k+(chunkZ*16)),Blocks.air.getDefaultState(),0);
}
}
}
It's just very slow and doesn't delete all blocks . Is there any Way to create a new World Option that makes Minecraft only run the Code of my WorldGenerator ?