implementation compiles now

This commit is contained in:
dfsek committed 2021-07-04 19:59:46 -07:00
1 parent e9dc7d3db6
commit 54f4722297
26 files changed
+47 -303

No files matched your search

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