mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-06 15:56:14 +00:00
Added biome-key-format configuration option to config.yml
This commit is contained in:
@@ -55,6 +55,10 @@ public class PluginConfigImpl implements ConfigTemplate, PluginConfig {
|
||||
@Default
|
||||
private boolean debugLog = false;
|
||||
|
||||
@Value("biome-key-format")
|
||||
@Default
|
||||
private String biomeKeyFormat = "%pack_id%/%biome_namespace%/%biome_id%";
|
||||
|
||||
@Value("biome-search-resolution")
|
||||
@Default
|
||||
private int biomeSearch = 4;
|
||||
@@ -124,6 +128,11 @@ public class PluginConfigImpl implements ConfigTemplate, PluginConfig {
|
||||
return debugLog;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getBiomeKeyFormat() {
|
||||
return biomeKeyFormat;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBiomeSearchResolution() {
|
||||
return biomeSearch;
|
||||
|
||||
@@ -11,6 +11,7 @@ debug:
|
||||
profiler: false
|
||||
script: false
|
||||
dump-default: true
|
||||
biome-key-format: "%pack_id%/%biome_namespace%/%biome_id%"
|
||||
biome-search-resolution: 4
|
||||
cache:
|
||||
structure: 32
|
||||
|
||||
Reference in New Issue
Block a user