public class RandomBiomeFilter extends AbstractBiomeFilter
AbstractBiomeFilter.Next| Modifier and Type | Field and Description |
|---|---|
protected int[] |
biomeIds |
protected GenerationBiome[] |
biomes |
static Identifier |
ID |
seed| Constructor and Description |
|---|
RandomBiomeFilter() |
| 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[] biomeIds
protected GenerationBiome[] biomes
public void init(long seed,
net.daporkchop.lib.random.PRandom random)
init in interface BiomeFilterinit in class AbstractBiomeFilterpublic Collection<GenerationBiome> getAllBiomes()
public int[] get(int x,
int z,
int sizeX,
int sizeZ,
IntArrayAllocator alloc)
Copyright © 2020. All rights reserved.