mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-14 12:51:20 +00:00
implement multiple vanilla biomes per custom biome
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.dfsek.terra.api.world.biome;
|
||||
|
||||
import com.dfsek.terra.api.math.noise.samplers.NoiseSampler;
|
||||
import com.dfsek.terra.api.platform.block.BlockData;
|
||||
import com.dfsek.terra.api.world.palette.Palette;
|
||||
|
||||
@@ -24,4 +25,6 @@ public interface Generator {
|
||||
boolean is2d();
|
||||
|
||||
double get2dBase();
|
||||
|
||||
NoiseSampler getBiomeNoise();
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.dfsek.terra.api.world.biome;
|
||||
|
||||
|
||||
import com.dfsek.terra.api.math.ProbabilityCollection;
|
||||
import com.dfsek.terra.api.platform.world.Biome;
|
||||
import com.dfsek.terra.api.platform.world.World;
|
||||
|
||||
@@ -17,7 +18,7 @@ public interface TerraBiome {
|
||||
*
|
||||
* @return TerraBiome - The Vanilla biome.
|
||||
*/
|
||||
Biome getVanillaBiome();
|
||||
ProbabilityCollection<Biome> getVanillaBiomes();
|
||||
|
||||
/**
|
||||
* Gets the BiomeTerrain instance used to generate the biome.
|
||||
|
||||
Reference in New Issue
Block a user