public abstract class NoiseChunkGenerator<T extends GenerationSettings> extends ChunkGenerator<T>
Modifier and Type | Field and Description |
---|---|
private static BlockState |
AIR |
protected BlockState |
defaultBlock |
protected BlockState |
defaultFluid |
private static float[] |
field_222561_h |
private OctavesNoiseGenerator |
field_222568_o |
private OctavesNoiseGenerator |
field_222569_p |
private OctavesNoiseGenerator |
field_222570_q |
private int |
horizontalNoiseGranularity |
private int |
noiseSizeX |
private int |
noiseSizeY |
private int |
noiseSizeZ |
protected SharedSeedRandom |
randomSeed |
private INoiseGenerator |
surfaceDepthNoise |
private int |
verticalNoiseGranularity |
biomeProvider, seed, settings, world
Constructor and Description |
---|
NoiseChunkGenerator(IWorld worldIn,
BiomeProvider biomeProviderIn,
int horizontalNoiseGranularityIn,
int verticalNoiseGranularityIn,
int p_i49931_5_,
T settingsIn,
boolean usePerlin) |
Modifier and Type | Method and Description |
---|---|
protected void |
calcNoiseColumn(double[] noiseColumn,
int noiseX,
int noiseZ,
double p_222546_4_,
double p_222546_6_,
double p_222546_8_,
double p_222546_10_,
int p_222546_12_,
int p_222546_13_) |
protected abstract void |
fillNoiseColumn(double[] noiseColumn,
int noiseX,
int noiseZ) |
int |
func_222529_a(int p_222529_1_,
int p_222529_2_,
Heightmap.Type heightmapType) |
protected abstract double |
func_222545_a(double p_222545_1_,
double p_222545_3_,
int p_222545_5_) |
protected double[] |
func_222547_b(int p_222547_1_,
int p_222547_2_) |
protected double |
func_222551_g() |
private double |
func_222552_a(int p_222552_1_,
int p_222552_2_,
int p_222552_3_,
double p_222552_4_,
double p_222552_6_,
double p_222552_8_,
double p_222552_10_) |
protected double |
func_222553_h() |
private static double |
func_222554_b(int p_222554_0_,
int p_222554_1_,
int p_222554_2_) |
private static double |
func_222556_a(int p_222556_0_,
int p_222556_1_,
int p_222556_2_) |
void |
generateSurface(WorldGenRegion p_225551_1_,
IChunk p_225551_2_) |
protected abstract double[] |
getBiomeNoiseColumn(int noiseX,
int noiseZ) |
void |
makeBase(IWorld worldIn,
IChunk chunkIn) |
protected void |
makeBedrock(IChunk chunkIn,
java.util.Random rand) |
int |
noiseSizeY() |
decorate, findNearestStructure, func_222531_c, func_222532_b, func_225550_a_, generateBiomes, generateStructures, generateStructureStarts, getBiome, getBiomeProvider, getGroundHeight, getMaxHeight, getPossibleCreatures, getSeaLevel, getSeed, getSettings, getStructureConfig, hasStructure, spawnMobs, spawnMobs
private static final float[] field_222561_h
private static final BlockState AIR
private final int verticalNoiseGranularity
private final int horizontalNoiseGranularity
private final int noiseSizeX
private final int noiseSizeY
private final int noiseSizeZ
protected final SharedSeedRandom randomSeed
private final OctavesNoiseGenerator field_222568_o
private final OctavesNoiseGenerator field_222569_p
private final OctavesNoiseGenerator field_222570_q
private final INoiseGenerator surfaceDepthNoise
protected final BlockState defaultBlock
protected final BlockState defaultFluid
public NoiseChunkGenerator(IWorld worldIn, BiomeProvider biomeProviderIn, int horizontalNoiseGranularityIn, int verticalNoiseGranularityIn, int p_i49931_5_, T settingsIn, boolean usePerlin)
private double func_222552_a(int p_222552_1_, int p_222552_2_, int p_222552_3_, double p_222552_4_, double p_222552_6_, double p_222552_8_, double p_222552_10_)
protected double[] func_222547_b(int p_222547_1_, int p_222547_2_)
protected void calcNoiseColumn(double[] noiseColumn, int noiseX, int noiseZ, double p_222546_4_, double p_222546_6_, double p_222546_8_, double p_222546_10_, int p_222546_12_, int p_222546_13_)
protected abstract double[] getBiomeNoiseColumn(int noiseX, int noiseZ)
protected abstract double func_222545_a(double p_222545_1_, double p_222545_3_, int p_222545_5_)
protected double func_222551_g()
protected double func_222553_h()
public int func_222529_a(int p_222529_1_, int p_222529_2_, Heightmap.Type heightmapType)
func_222529_a
in class ChunkGenerator<T extends GenerationSettings>
protected abstract void fillNoiseColumn(double[] noiseColumn, int noiseX, int noiseZ)
public int noiseSizeY()
public void generateSurface(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
generateSurface
in class ChunkGenerator<T extends GenerationSettings>
protected void makeBedrock(IChunk chunkIn, java.util.Random rand)
public void makeBase(IWorld worldIn, IChunk chunkIn)
makeBase
in class ChunkGenerator<T extends GenerationSettings>
private static double func_222556_a(int p_222556_0_, int p_222556_1_, int p_222556_2_)
private static double func_222554_b(int p_222554_0_, int p_222554_1_, int p_222554_2_)