clustersPerChunk = BRConfig.CONFIGURATION.get("WorldGen", "MaxYelloriteClustersPerChunk", 5, "Maximum number of clusters per chunk; will generate at least half this number, rounded down").getInt();
orePerCluster = BRConfig.CONFIGURATION.get("WorldGen", "MaxYelloriteOrePerCluster", 10, "Maximum number of blocks to generate in each cluster; will usually generate at least half this number").getInt();
maxY = BRConfig.CONFIGURATION.get("WorldGen", "YelloriteMaxY", 50, "Maximum height (Y coordinate) in the world to generate yellorite ore").getInt();
int[] dimensionBlacklist = BRConfig.CONFIGURATION.get("WorldGen", "YelloriteDimensionBlacklist", new int[] {}, "Dimensions in which yellorite ore should not be generated; Nether/End automatically included").getIntList();
yelloriteOreGeneration = new BRSimpleOreGenerator(blockYelloriteOre, 0, Blocks.stone,
clustersPerChunk/2, clustersPerChunk, 4, maxY, orePerCluster);
// Per KingLemming's request, bonus yellorite around y12. :)
BRSimpleOreGenerator yelloriteOreGeneration2 = new BRSimpleOreGenerator(blockYelloriteOre, 0, Blocks.stone,
1, 2, 11, 13, orePerCluster);
if(dimensionBlacklist != null) {
for(int dimension : dimensionBlacklist) {
yelloriteOreGeneration.blacklistDimension(dimension);
yelloriteOreGeneration2.blacklistDimension(dimension);
}
}
BRWorldGenerator.addGenerator(BigReactors.yelloriteOreGeneration);
BRWorldGenerator.addGenerator(yelloriteOreGeneration2);