public class OverworldChunkGenerator extends SurfaceChunkGenerator<OverworldChunkGeneratorConfig>
| Modifier and Type | Field and Description |
|---|---|
private static float[] |
BIOME_WEIGHT_TABLE |
private CatSpawner |
catSpawner |
private OverworldChunkGeneratorConfig |
field_24518 |
private OctavePerlinNoiseSampler |
noiseSampler |
private PhantomSpawner |
phantomSpawner |
private PillagerSpawner |
pillagerSpawner |
private ZombieSiegeManager |
zombieSiegeManager |
defaultBlock, defaultFluid, randombiomeSource| Constructor and Description |
|---|
OverworldChunkGenerator(BiomeSource biomeSource,
long long2,
OverworldChunkGeneratorConfig overworldChunkGeneratorConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeNoiseFalloff(double depth,
double scale,
int y) |
protected double[] |
computeNoiseRange(int x,
int z) |
List<Biome.SpawnEntry> |
getEntitySpawnList(Biome biome,
StructureAccessor structureAccessor,
SpawnGroup spawnGroup,
BlockPos blockPos) |
int |
getSeaLevel() |
ChunkGenerator |
method_27997(long long2) |
void |
populateEntities(ChunkRegion region) |
private double |
sampleNoise(int x,
int y) |
protected void |
sampleNoiseColumn(double[] buffer,
int x,
int z) |
void |
spawnEntities(ServerWorld world,
boolean spawnMonsters,
boolean spawnAnimals) |
buildBedrock, buildSurface, getBlockState, getColumnSample, getHeight, getNoiseSizeY, method_16409, method_16410, populateNoise, sampleNoiseColumn, sampleNoiseColumnaddStructureReferences, carve, generateFeatures, getBiomeSource, getConfig, getDecorationBiome, getHeightInGround, getHeightOnGround, getMaxY, getSpawnHeight, getStructureConfig, hasStructure, hasStructure, locateStructure, populateBiomes, setStructureStartsprivate static final float[] BIOME_WEIGHT_TABLE
private final OctavePerlinNoiseSampler noiseSampler
private final PhantomSpawner phantomSpawner
private final PillagerSpawner pillagerSpawner
private final CatSpawner catSpawner
private final ZombieSiegeManager zombieSiegeManager
private final OverworldChunkGeneratorConfig field_24518
public OverworldChunkGenerator(BiomeSource biomeSource, long long2, OverworldChunkGeneratorConfig overworldChunkGeneratorConfig)
@Environment(value=CLIENT) public ChunkGenerator method_27997(long long2)
method_27997 in class ChunkGeneratorpublic void populateEntities(ChunkRegion region)
populateEntities in class ChunkGeneratorprotected void sampleNoiseColumn(double[] buffer,
int x,
int z)
sampleNoiseColumn in class SurfaceChunkGenerator<OverworldChunkGeneratorConfig>protected double computeNoiseFalloff(double depth,
double scale,
int y)
computeNoiseFalloff in class SurfaceChunkGenerator<OverworldChunkGeneratorConfig>protected double[] computeNoiseRange(int x,
int z)
computeNoiseRange in class SurfaceChunkGenerator<OverworldChunkGeneratorConfig>private double sampleNoise(int x,
int y)
public List<Biome.SpawnEntry> getEntitySpawnList(Biome biome, StructureAccessor structureAccessor, SpawnGroup spawnGroup, BlockPos blockPos)
getEntitySpawnList in class ChunkGeneratorpublic void spawnEntities(ServerWorld world, boolean spawnMonsters, boolean spawnAnimals)
spawnEntities in class ChunkGeneratorpublic int getSeaLevel()
getSeaLevel in class ChunkGenerator