예제 #1
0
  public void generateMissing(NBTTagCompound tagCompound, GalaxyGenerator galaxyGenerator) {
    if (galaxyGenerator != null) {
      for (ISpaceBodyGen<Star> starGen : galaxyGenerator.getStarGen().getGens()) {
        galaxyGenerator.getStarRandom().setSeed(seed);
        if (starGen.generateMissing(tagCompound, this, galaxyGenerator.getStarRandom())) {
          break;
        }
      }

      for (Planet planet : getPlanets()) {
        planet.generateMissing(tagCompound, galaxyGenerator);
      }
    }
  }