remove World#getGenerator

This commit is contained in:
dfsek
2021-07-22 14:28:11 -07:00
parent 2517b74951
commit ec14666c6d
6 changed files with 9 additions and 27 deletions

View File

@@ -9,8 +9,6 @@ import com.dfsek.terra.api.vector.Vector3;
import com.dfsek.terra.api.world.Chunk;
import com.dfsek.terra.api.world.World;
import com.dfsek.terra.api.world.biome.generation.BiomeProvider;
import com.dfsek.terra.api.world.generator.ChunkGenerator;
import com.dfsek.terra.api.world.generator.GeneratorWrapper;
public class DummyWorld implements World {
@Override
@@ -28,11 +26,6 @@ public class DummyWorld implements World {
return 255;
}
@Override
public ChunkGenerator getGenerator() {
return () -> (GeneratorWrapper) () -> null;
}
@Override
public Chunk getChunkAt(int x, int z) {
throw new UnsupportedOperationException("Cannot get chunk in DummyWorld");