Biome API update

This commit is contained in:
paulevsGitch 2020-10-29 19:39:27 +03:00
parent ac618d96df
commit 8e5cbe19f3
2 changed files with 33 additions and 23 deletions

View file

@ -33,11 +33,11 @@ public class EndBiome {
genChanceUnmutable = definition.getGenChance();
}
public EndBiome(Biome biome, float genChance) {
public EndBiome(Biome biome, float fogDensity, float genChance) {
this.biome = biome;
mcID = BuiltinRegistries.BIOME.getId(biome);
fogDensity = 1;
genChanceUnmutable = genChance;
this.mcID = BuiltinRegistries.BIOME.getId(biome);
this.fogDensity = fogDensity;
this.genChanceUnmutable = genChance;
}
public void genSurfColumn(WorldAccess world, BlockPos pos, Random random) {