@@ -386,8 +386,7 @@ private ConfigTemplate createOverworldMapTemplate(String name, Path worldFolder,
386386 .setVariable ("void-color" , "#000000" )
387387 .setVariable ("ambient-light" , "0.1" )
388388 .setVariable ("remove-caves-below-y" , "55" )
389- .setConditional ("max-y-comment" , true )
390- .setVariable ("max-y" , "100" );
389+ .setConditional ("remove-nether-ceiling" , false );
391390 }
392391
393392 private ConfigTemplate createNetherMapTemplate (String name , Path worldFolder , Key dimension , int index ) throws IOException {
@@ -400,8 +399,7 @@ private ConfigTemplate createNetherMapTemplate(String name, Path worldFolder, Ke
400399 .setVariable ("void-color" , "#150000" )
401400 .setVariable ("ambient-light" , "0.6" )
402401 .setVariable ("remove-caves-below-y" , "-10000" )
403- .setConditional ("max-y-comment" , false )
404- .setVariable ("max-y" , "90" );
402+ .setConditional ("remove-nether-ceiling" , true );
405403 }
406404
407405 private ConfigTemplate createEndMapTemplate (String name , Path worldFolder , Key dimension , int index ) throws IOException {
@@ -414,8 +412,7 @@ private ConfigTemplate createEndMapTemplate(String name, Path worldFolder, Key d
414412 .setVariable ("void-color" , "#080010" )
415413 .setVariable ("ambient-light" , "0.6" )
416414 .setVariable ("remove-caves-below-y" , "-10000" )
417- .setConditional ("max-y-comment" , true )
418- .setVariable ("max-y" , "100" );
415+ .setConditional ("remove-nether-ceiling" , false );
419416 }
420417
421418 public static String formatPath (Path path ) {
0 commit comments