mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-07 16:26:13 +00:00
clean up Palette API
This commit is contained in:
@@ -13,10 +13,6 @@ import com.dfsek.terra.api.util.collection.ProbabilityCollection;
|
||||
|
||||
|
||||
public interface Palette {
|
||||
Palette add(BlockState m, int layers, NoiseSampler sampler);
|
||||
|
||||
Palette add(ProbabilityCollection<BlockState> m, int layers, NoiseSampler sampler);
|
||||
|
||||
/**
|
||||
* Fetches a material from the palette, at a given layer.
|
||||
*
|
||||
@@ -25,6 +21,4 @@ public interface Palette {
|
||||
* @return BlockData - The material fetched.
|
||||
*/
|
||||
BlockState get(int layer, double x, double y, double z, long seed);
|
||||
|
||||
int getSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user