[Change] Moved Nether Config Settings to BiomeSource-Config
This commit is contained in:
parent
d6cf5a6cd9
commit
85f1d7b1e4
6 changed files with 69 additions and 45 deletions
|
@ -79,6 +79,13 @@ public class BiomesConfig extends PathConfig {
|
|||
.toList();
|
||||
}
|
||||
|
||||
public List<String> getExcludeMatching(BiomeAPI.BiomeType type) {
|
||||
var list = getBiomeExcludeMap().get(type);
|
||||
if (list == null) return List.of();
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
public Map<BiomeAPI.BiomeType, List<String>> getBiomeIncludeMap() {
|
||||
if (BIOME_INCLUDE_LIST == null) {
|
||||
BIOME_INCLUDE_LIST = new HashMap<>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue