mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-14 11:46:06 +00:00
implementation compiles now
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user