public class ChunkGeneratorHell extends java.lang.Object implements IChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static IBlockState |
AIR |
protected static IBlockState |
BEDROCK |
NoiseGeneratorOctaves |
depthNoise |
protected static IBlockState |
GRAVEL |
protected static IBlockState |
LAVA |
protected static IBlockState |
NETHERRACK |
NoiseGeneratorOctaves |
scaleNoise |
protected static IBlockState |
SOUL_SAND |
| Constructor and Description |
|---|
ChunkGeneratorHell(World worldIn,
boolean p_i45637_2_,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurfaces(int p_185937_1_,
int p_185937_2_,
ChunkPrimer primer) |
Chunk |
generateChunk(int x,
int z)
Generates the chunk at the specified position, from scratch
|
boolean |
generateStructures(Chunk chunkIn,
int x,
int z)
Called to generate additional structures after initial worldgen, used by ocean monuments
|
BlockPos |
getNearestStructurePos(World worldIn,
java.lang.String structureName,
BlockPos position,
boolean findUnexplored) |
java.util.List<Biome.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
boolean |
isInsideStructure(World worldIn,
java.lang.String structureName,
BlockPos pos) |
void |
populate(int x,
int z)
Generate initial structures in this chunk, e.g.
|
void |
prepareHeights(int p_185936_1_,
int p_185936_2_,
ChunkPrimer primer) |
void |
recreateStructures(Chunk chunkIn,
int x,
int z)
Recreates data about structures intersecting given chunk (used for example by getPossibleCreatures), without
placing any blocks.
|
protected static final IBlockState AIR
protected static final IBlockState NETHERRACK
protected static final IBlockState BEDROCK
protected static final IBlockState LAVA
protected static final IBlockState GRAVEL
protected static final IBlockState SOUL_SAND
public NoiseGeneratorOctaves scaleNoise
public NoiseGeneratorOctaves depthNoise
public ChunkGeneratorHell(World worldIn, boolean p_i45637_2_, long seed)
public void prepareHeights(int p_185936_1_,
int p_185936_2_,
ChunkPrimer primer)
public void buildSurfaces(int p_185937_1_,
int p_185937_2_,
ChunkPrimer primer)
public Chunk generateChunk(int x, int z)
generateChunk in interface IChunkGeneratorpublic void populate(int x,
int z)
populate in interface IChunkGeneratorpublic boolean generateStructures(Chunk chunkIn, int x, int z)
generateStructures in interface IChunkGeneratorpublic java.util.List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
getPossibleCreatures in interface IChunkGeneratorpublic BlockPos getNearestStructurePos(World worldIn, java.lang.String structureName, BlockPos position, boolean findUnexplored)
getNearestStructurePos in interface IChunkGeneratorpublic boolean isInsideStructure(World worldIn, java.lang.String structureName, BlockPos pos)
isInsideStructure in interface IChunkGeneratorpublic void recreateStructures(Chunk chunkIn, int x, int z)
recreateStructures in interface IChunkGenerator