implementation compiles now

This commit is contained in:
dfsek
2021-07-04 19:59:46 -07:00
parent e9dc7d3db6
commit 54f4722297
26 changed files with 47 additions and 303 deletions

View File

@@ -12,6 +12,8 @@ import com.dfsek.terra.api.vector.Vector3;
public interface WorldHandle {
BlockState createBlockData(String data);
BlockState air();
EntityType getEntity(String id);
/**

View File

@@ -29,13 +29,7 @@ public interface Generator {
double getWeight();
/**
* Gets the BlocPalette to generate the biome with.
*
* @return BlocPalette - The biome's palette.
*/
Palette getPalette(int y);
PaletteSettings getPaletteSettings();
NoiseSampler getBiomeNoise();
double getElevationWeight();

View File

@@ -0,0 +1,7 @@
package com.dfsek.terra.api.world.biome;
import com.dfsek.terra.api.world.generator.Palette;
public interface PaletteSettings {
Palette getPalette(int y);
}