mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-08 03:40:27 +01:00
Make ChunkGenerator an interface
This commit is contained in:
parent
156a64ec8e
commit
77e52c2cbe
@ -5,12 +5,12 @@ import net.minestom.server.world.biomes.Biome;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public abstract class ChunkGenerator {
|
public interface ChunkGenerator {
|
||||||
|
|
||||||
public abstract void generateChunkData(ChunkBatch batch, int chunkX, int chunkZ);
|
void generateChunkData(ChunkBatch batch, int chunkX, int chunkZ);
|
||||||
|
|
||||||
public abstract void fillBiomes(Biome[] biomes, int chunkX, int chunkZ);
|
void fillBiomes(Biome[] biomes, int chunkX, int chunkZ);
|
||||||
|
|
||||||
public abstract List<ChunkPopulator> getPopulators();
|
List<ChunkPopulator> getPopulators();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user