template = genObject.get("generator").getAsString();
}
}
if ("sparse-cluster".equals(template)) {
return new WorldGenSparseMinableCluster(resList, clusterSize, matList);
} else if ("large-vein".equals(template)) {
boolean sparse = true;
if (isObject) {
sparse = genObject.has("sparse") ? genObject.get("sparse").getAsBoolean() : sparse;
}