Ether Grove prototype

This commit is contained in:
paulevsGitch 2020-12-26 14:08:53 +03:00
parent 46450a1bc8
commit 0fffaad9f0
12 changed files with 173 additions and 22 deletions

View file

@ -77,6 +77,10 @@ public class EndBiome {
biome.biomeParent = this;
subbiomes.add(biome);
}
public boolean containsSubBiome(EndBiome biome) {
return subbiomes.contains(biome);
}
public EndBiome getSubBiome(Random random) {
float chance = random.nextFloat() * maxSubBiomeChance;