Amber land music & new config changes

This commit is contained in:
paulevsGitch 2020-12-12 12:52:31 +03:00
parent f50311f0e2
commit 85fdf42c08
17 changed files with 87 additions and 26 deletions

View file

@ -40,18 +40,18 @@ public class EndBiome {
public EndBiome(BiomeDefinition definition) {
biome = definition.build();
mcID = definition.getID();
fogDensity = Configs.BIOME_CONFIG.getFloat(this, "fog_density", definition.getFodDensity());
genChanceUnmutable = Configs.BIOME_CONFIG.getFloat(this, "generation_chance", definition.getGenChance());
hasCaves = Configs.BIOME_CONFIG.getBoolean(this, "has_caves", definition.hasCaves());
fogDensity = Configs.BIOME_CONFIG.getFloat(mcID, "fog_density", definition.getFodDensity());
genChanceUnmutable = Configs.BIOME_CONFIG.getFloat(mcID, "generation_chance", definition.getGenChance());
hasCaves = Configs.BIOME_CONFIG.getBoolean(mcID, "has_caves", definition.hasCaves());
readStructureList();
}
public EndBiome(Identifier id, Biome biome, float fogDensity, float genChance, boolean hasCaves) {
this.biome = biome;
this.mcID = id;
this.fogDensity = Configs.BIOME_CONFIG.getFloat(this, "fog_density", fogDensity);
this.genChanceUnmutable = Configs.BIOME_CONFIG.getFloat(this, "generation_chance", genChance);
this.hasCaves = Configs.BIOME_CONFIG.getBoolean(this, "has_caves", hasCaves);
this.fogDensity = Configs.BIOME_CONFIG.getFloat(mcID, "fog_density", fogDensity);
this.genChanceUnmutable = Configs.BIOME_CONFIG.getFloat(mcID, "generation_chance", genChance);
this.hasCaves = Configs.BIOME_CONFIG.getBoolean(mcID, "has_caves", hasCaves);
readStructureList();
}