public class ChunkGeneratorEnd extends java.lang.Object implements IChunkGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static IBlockState |
AIR |
protected static IBlockState |
END_STONE |
NoiseGeneratorOctaves |
noiseGen5
A NoiseGeneratorOctaves used in generating terrain
|
NoiseGeneratorOctaves |
noiseGen6
A NoiseGeneratorOctaves used in generating terrain
|
| Constructor and Description |
|---|
ChunkGeneratorEnd(World p_i47241_1_,
boolean p_i47241_2_,
long p_i47241_3_,
BlockPos p_i47241_5_) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSurfaces(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) |
boolean |
isIslandChunk(int p_185961_1_,
int p_185961_2_) |
void |
populate(int x,
int z)
Generate initial structures in this chunk, e.g.
|
void |
recreateStructures(Chunk chunkIn,
int x,
int z)
Recreates data about structures intersecting given chunk (used for example by getPossibleCreatures), without
placing any blocks.
|
void |
setBlocksInChunk(int x,
int z,
ChunkPrimer primer)
Generates a bare-bones chunk of nothing but stone or ocean blocks, formed, but featureless.
|
protected static final IBlockState END_STONE
protected static final IBlockState AIR
public NoiseGeneratorOctaves noiseGen5
public NoiseGeneratorOctaves noiseGen6
public void setBlocksInChunk(int x,
int z,
ChunkPrimer primer)
public void buildSurfaces(ChunkPrimer primer)
public Chunk generateChunk(int x, int z)
generateChunk in interface IChunkGeneratorpublic boolean isIslandChunk(int p_185961_1_,
int p_185961_2_)
public 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