public class ReplaceThresholdBiomeFilter extends AbstractBiomeFilter.Next
AbstractBiomeFilter.Next| Modifier and Type | Field and Description |
|---|---|
static Identifier |
ID |
protected GenerationBiome |
replacement |
protected int |
replacementId |
protected GenerationBiome |
target |
protected int |
targetId |
protected int |
threshold |
nextseed| Constructor and Description |
|---|
ReplaceThresholdBiomeFilter() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
get(int x,
int z,
int sizeX,
int sizeZ,
IntArrayAllocator alloc) |
Collection<GenerationBiome> |
getAllBiomes() |
void |
init(long seed,
net.daporkchop.lib.random.PRandom random) |
randompublic static final Identifier ID
protected int targetId
protected int replacementId
protected int threshold
protected GenerationBiome target
protected GenerationBiome replacement
public void init(long seed,
net.daporkchop.lib.random.PRandom random)
init in interface BiomeFilterinit in class AbstractBiomeFilter.Nextpublic Collection<GenerationBiome> getAllBiomes()
public int[] get(int x,
int z,
int sizeX,
int sizeZ,
IntArrayAllocator alloc)
Copyright © 2020. All rights reserved.