More loaders 'n stuff

This commit is contained in:
dfsek
2020-11-27 00:59:15 -07:00
parent 013216ad8c
commit 717ece9d1f
9 changed files with 130 additions and 15 deletions

View File

@@ -0,0 +1,22 @@
package com.dfsek.terra.biome.palette;
import org.bukkit.block.data.BlockData;
import org.polydev.gaea.math.ProbabilityCollection;
public class PaletteLayer {
private final ProbabilityCollection<BlockData> layer;
private final int size;
public PaletteLayer(ProbabilityCollection<BlockData> layer, int size) {
this.layer = layer;
this.size = size;
}
public ProbabilityCollection<BlockData> getLayer() {
return layer;
}
public int getSize() {
return size;
}
}