mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-07 00:06:12 +00:00
remove unused methods from WorldConfig
This commit is contained in:
@@ -19,16 +19,6 @@ import com.dfsek.terra.api.world.chunk.generation.util.math.SamplerProvider;
|
||||
public interface WorldConfig extends StringIdentifiable {
|
||||
int elevationBlend();
|
||||
|
||||
boolean disableTrees();
|
||||
|
||||
boolean disableCarving();
|
||||
|
||||
boolean disableOres();
|
||||
|
||||
boolean disableFlora();
|
||||
|
||||
boolean disableStructures();
|
||||
|
||||
<T> Registry<T> getRegistry(Class<T> clazz);
|
||||
|
||||
ServerWorld getWorld();
|
||||
@@ -39,11 +29,5 @@ public interface WorldConfig extends StringIdentifiable {
|
||||
|
||||
ConfigPack getPack();
|
||||
|
||||
String getAuthor();
|
||||
|
||||
String getVersion();
|
||||
|
||||
Map<String, String> getLocatable();
|
||||
|
||||
boolean isDisableSaplings();
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
package com.dfsek.terra.api.world.chunk.generation;
|
||||
|
||||
import com.dfsek.terra.api.world.World;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -24,7 +26,7 @@ import com.dfsek.terra.api.world.chunk.generation.stage.GenerationStage;
|
||||
public interface ChunkGenerator {
|
||||
void generateChunkData(@NotNull ProtoChunk chunk, @NotNull WritableWorld world,
|
||||
int chunkZ, int chunkX);
|
||||
Sampler createSampler(int chunkX, int chunkZ, BiomeProvider provider, ServerWorld world, int elevationSmooth);
|
||||
Sampler createSampler(int chunkX, int chunkZ, BiomeProvider provider, World world, int elevationSmooth);
|
||||
|
||||
List<GenerationStage> getGenerationStages();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user