public class SubstituteRandomBiomeFilter extends AbstractBiomeFilter.Next
AbstractBiomeFilter.Next| Modifier and Type | Field and Description |
|---|---|
protected Map<String,GenerationBiome[]> |
biomes |
protected int |
chance |
static Identifier |
ID |
protected it.unimi.dsi.fastutil.ints.Int2ObjectMap<int[]> |
replacements |
nextseed| Constructor and Description |
|---|
SubstituteRandomBiomeFilter() |
| 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 final it.unimi.dsi.fastutil.ints.Int2ObjectMap<int[]> replacements
protected int chance
protected Map<String,GenerationBiome[]> biomes
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.