implement PropertyHolder in ChunkGenerator

This commit is contained in:
dfsek
2021-12-02 18:05:52 -07:00
parent ad66fa8022
commit 1c7c7af105
2 changed files with 9 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
package com.dfsek.terra.api.world.chunk.generation;
import com.dfsek.terra.api.properties.PropertyHolder;
import com.dfsek.terra.api.world.World;
import org.jetbrains.annotations.NotNull;
@@ -23,7 +24,7 @@ import com.dfsek.terra.api.world.biome.generation.BiomeProvider;
import com.dfsek.terra.api.world.chunk.generation.stage.GenerationStage;
public interface ChunkGenerator {
public interface ChunkGenerator extends PropertyHolder {
void generateChunkData(@NotNull ProtoChunk chunk, @NotNull WritableWorld world,
int chunkZ, int chunkX);
Sampler createSampler(int chunkX, int chunkZ, BiomeProvider provider, World world, int elevationSmooth);