public class MapGenBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Random |
rand
The RNG used by the MapGen classes.
|
protected int |
range
The number of Chunks to gen-check in any given direction.
|
protected World |
world
This world object.
|
Constructor and Description |
---|
MapGenBase() |
Modifier and Type | Method and Description |
---|---|
void |
generate(World worldIn,
int x,
int z,
ChunkPrimer primer) |
protected void |
recursiveGenerate(World worldIn,
int chunkX,
int chunkZ,
int p_180701_4_,
int p_180701_5_,
ChunkPrimer chunkPrimerIn)
Recursively called by generate()
|
static void |
setupChunkSeed(long p_191068_0_,
java.util.Random p_191068_2_,
int p_191068_3_,
int p_191068_4_) |
protected int range
protected java.util.Random rand
protected World world
public void generate(World worldIn, int x, int z, ChunkPrimer primer)
public static void setupChunkSeed(long p_191068_0_, java.util.Random p_191068_2_, int p_191068_3_, int p_191068_4_)
protected void recursiveGenerate(World worldIn, int chunkX, int chunkZ, int p_180701_4_, int p_180701_5_, ChunkPrimer chunkPrimerIn)