From 0b23253447623cadf1c394984ce0eee977d54b9b Mon Sep 17 00:00:00 2001 From: Paramat Date: Fri, 8 Jun 2018 23:24:36 +0100 Subject: Mapgen flags: Add 'biomes' global mapgen flag (#7355) Previously the only way to disable biomes was to 'clear' the registered biomes in a mod, but this method causes large amounts of unnecessary processing: 1. Calculation of 4 2D noises. 2. Looping through all nodes of a mapchunk replacing nodes with identical nodes. The new flag disables those operations. --- builtin/settingtypes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin') diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 8e42fe29a..653ca0e2f 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1282,7 +1282,7 @@ mapgen_limit (Map generation limit) int 31000 0 31000 # and junglegrass, in all other mapgens this flag controls all decorations. # Flags that are not enabled are not modified from the default. # Flags starting with 'no' are used to explicitly disable them. -mg_flags (Mapgen flags) flags caves,dungeons,light,decorations caves,dungeons,light,decorations,nocaves,nodungeons,nolight,nodecorations +mg_flags (Mapgen flags) flags caves,dungeons,light,decorations,biomes caves,dungeons,light,decorations,biomes,nocaves,nodungeons,nolight,nodecorations,nobiomes # Whether dungeons occasionally project from the terrain. projecting_dungeons (Projecting dungeons) bool true -- cgit v1.2.3