} else if ("large-vein".equals(template)) {
boolean sparse = true;
if (isObject) {
sparse = genObject.has("sparse") ? genObject.get("sparse").getAsBoolean() : sparse;
}
return new WorldGenMinableLargeVein(resList, clusterSize, matList, sparse);
} else if ("lake".equals(template)) {
boolean useMaterial = false;
if (isObject) {
useMaterial = genObject.has("useMaterial") ? genObject.get("useMaterial").getAsBoolean() : useMaterial;
}