mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-04 23:06:05 +00:00
BlockPopulator -> GenerationStage
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package com.dfsek.terra.api.world.generator;
|
||||
|
||||
import com.dfsek.terra.api.config.ConfigPack;
|
||||
|
||||
public interface BlockPopulatorProvider {
|
||||
TerraBlockPopulator newInstance(ConfigPack pack);
|
||||
}
|
||||
@@ -6,6 +6,6 @@ import com.dfsek.terra.api.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public interface BlockPopulator extends Handle {
|
||||
public interface GenerationStage extends Handle {
|
||||
void populate(World world, Random random, Chunk chunk);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.dfsek.terra.api.world.generator;
|
||||
|
||||
import com.dfsek.terra.api.config.ConfigPack;
|
||||
|
||||
public interface GenerationStageProvider {
|
||||
TerraGenerationStage newInstance(ConfigPack pack);
|
||||
}
|
||||
@@ -21,5 +21,5 @@ public interface TerraChunkGenerator {
|
||||
|
||||
Sampler createSampler(int chunkX, int chunkZ, BiomeProvider provider, World world, int elevationSmooth);
|
||||
|
||||
List<TerraBlockPopulator> getPopulators();
|
||||
List<TerraGenerationStage> getGenerationStages();
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ package com.dfsek.terra.api.world.generator;
|
||||
import com.dfsek.terra.api.world.Chunk;
|
||||
import com.dfsek.terra.api.world.World;
|
||||
|
||||
public interface TerraBlockPopulator {
|
||||
public interface TerraGenerationStage {
|
||||
void populate(World world, Chunk chunk);
|
||||
}
|
||||
Reference in New Issue
Block a user