mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-10 01:36:19 +00:00
population order/invocation is now per-platform
This commit is contained in:
@@ -21,7 +21,6 @@ public class WorldProfiler {
|
||||
.addMeasurement(new Measurement(2000000, DataType.PERIOD_MILLISECONDS), "PopulationManagerTime");
|
||||
isProfiling = false;
|
||||
this.world = w;
|
||||
w.getGenerator().getTerraGenerator().attachProfiler(this);
|
||||
}
|
||||
|
||||
public String getResultsFormatted() {
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
package com.dfsek.terra.api.generic.generator;
|
||||
|
||||
import com.dfsek.terra.api.gaea.profiler.WorldProfiler;
|
||||
import com.dfsek.terra.api.generic.TerraPlugin;
|
||||
import com.dfsek.terra.api.generic.world.BiomeGrid;
|
||||
import com.dfsek.terra.api.generic.world.World;
|
||||
import com.dfsek.terra.config.base.ConfigPack;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public interface TerraChunkGenerator {
|
||||
@@ -15,8 +13,6 @@ public interface TerraChunkGenerator {
|
||||
|
||||
void generateBiomes(@NotNull World world, @NotNull Random random, int x, int z, @NotNull BiomeGrid biome);
|
||||
|
||||
void attachProfiler(WorldProfiler profiler);
|
||||
|
||||
boolean isParallelCapable();
|
||||
|
||||
boolean shouldGenerateCaves();
|
||||
@@ -29,7 +25,5 @@ public interface TerraChunkGenerator {
|
||||
|
||||
ConfigPack getConfigPack();
|
||||
|
||||
List<TerraBlockPopulator> getPopulators();
|
||||
|
||||
TerraPlugin getMain();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user