public class ReplaceSwathBiomeFilter extends AbstractBiomeFilter.Next
AbstractBiomeFilter.Next| Modifier and Type | Field and Description |
|---|---|
protected int |
chance |
static Identifier |
ID |
protected GenerationBiome |
replacement |
protected int |
replacementId |
protected GenerationBiome |
target |
protected int |
targetId |
nextseed| Constructor and Description |
|---|
ReplaceSwathBiomeFilter() |
| 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 chance
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.