mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-07 16:26:13 +00:00
move stages to ConfigPack instance
This commit is contained in:
@@ -23,6 +23,7 @@ import com.dfsek.terra.api.util.StringIdentifiable;
|
||||
import com.dfsek.terra.api.util.reflection.TypeKey;
|
||||
import com.dfsek.terra.api.world.ServerWorld;
|
||||
import com.dfsek.terra.api.world.biome.generation.BiomeProvider;
|
||||
import com.dfsek.terra.api.world.chunk.generation.stage.GenerationStage;
|
||||
import com.dfsek.terra.api.world.chunk.generation.util.provider.ChunkGeneratorProvider;
|
||||
import com.dfsek.terra.api.world.chunk.generation.util.provider.GenerationStageProvider;
|
||||
|
||||
@@ -53,7 +54,7 @@ public interface ConfigPack extends LoaderRegistrar, LoaderHolder, RegistryHolde
|
||||
return getOrCreateRegistry(type.getType());
|
||||
}
|
||||
|
||||
List<GenerationStageProvider> getStages();
|
||||
List<GenerationStage> getStages();
|
||||
|
||||
Loader getLoader();
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@ public interface ChunkGenerator {
|
||||
void generateChunkData(@NotNull ProtoChunk chunk, @NotNull WritableWorld world,
|
||||
int chunkX, int chunkZ);
|
||||
|
||||
List<GenerationStage> getGenerationStages();
|
||||
|
||||
BlockState getBlock(ServerWorld world, int x, int y, int z);
|
||||
|
||||
default BlockState getBlock(ServerWorld world, Vector3 vector3) {
|
||||
|
||||
Reference in New Issue
Block a user