if (genObject.has("count"))
r.clusters = genObject.get("count").getAsInt();
}
return r;
} else if ("spike".equals(template)) {
WorldGenSpike r = new WorldGenSpike(resList, matList);
if (isObject) {
if (genObject.has("largeSpikes"))
r.largeSpikes = genObject.get("largeSpikes").getAsBoolean();
}
return r;