17 lines
654 B
Java
17 lines
654 B
Java
![]() |
package game.worldgen;
|
||
|
|
||
|
import java.util.Set;
|
||
|
|
||
|
import game.biome.Biome;
|
||
|
import game.world.BlockPos;
|
||
|
|
||
|
public interface BiomeGenerator {
|
||
|
public void genFactors(double[] factors, int xPos, int zPos, int sizeX, int sizeZ);
|
||
|
public Biome getBiomeGenerator(BlockPos pos, Biome def);
|
||
|
public void getGenBiomes(Biome[] biomes, int x, int z, int width, int height);
|
||
|
public void getChunkBiomes(Biome[] oldBiomeList, int x, int z, int width, int depth);
|
||
|
public void getBiomes(Biome[] listToReuse, int x, int z, int width, int length, boolean cacheFlag);
|
||
|
public boolean areBiomesViable(int x, int z, int size, Set<Biome> allowed);
|
||
|
public void cleanupCache();
|
||
|
}
|