public class ChunkProviderFlat extends java.lang.Object implements IChunkGenerator
Constructor and Description |
---|
ChunkProviderFlat(World worldIn,
long seed,
boolean generateStructures,
java.lang.String flatGeneratorSettings) |
Modifier and Type | Method and Description |
---|---|
boolean |
generateStructures(Chunk chunkIn,
int x,
int z) |
java.util.List<Biome.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
BlockPos |
getStrongholdGen(World worldIn,
java.lang.String structureName,
BlockPos position,
boolean p_180513_4_) |
void |
populate(int x,
int z) |
Chunk |
provideChunk(int x,
int z) |
void |
recreateStructures(Chunk chunkIn,
int x,
int z) |
public ChunkProviderFlat(World worldIn, long seed, boolean generateStructures, java.lang.String flatGeneratorSettings)
public Chunk provideChunk(int x, int z)
provideChunk
in interface IChunkGenerator
public void populate(int x, int z)
populate
in interface IChunkGenerator
public boolean generateStructures(Chunk chunkIn, int x, int z)
generateStructures
in interface IChunkGenerator
public java.util.List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
getPossibleCreatures
in interface IChunkGenerator
@Nullable public BlockPos getStrongholdGen(World worldIn, java.lang.String structureName, BlockPos position, boolean p_180513_4_)
getStrongholdGen
in interface IChunkGenerator
public void recreateStructures(Chunk chunkIn, int x, int z)
recreateStructures
in interface IChunkGenerator