Minor Refactor

This commit is contained in:
Frank 2021-12-18 02:43:18 +01:00
parent d738e8ae75
commit 61cf9711a6
4 changed files with 42 additions and 28 deletions

View file

@ -378,4 +378,14 @@ public class BCLBiome {
public Map<Decoration, List<Supplier<PlacedFeature>>> getFeatures(){
return features;
}
/**
* Returns the group used in the config Files for this biome
*
* Example: {@code Configs.BIOMES_CONFIG.getFloat(configGroup(), "generation_chance", 1.0);}
* @return The group name
*/
public String configGroup() {
return biomeID.getNamespace() + "." + biomeID.getPath();
}
}