public class ChunkGeneratorFlat extends AbstractChunkGenerator<FlatGenSettings>
biomeProvider, seed, structureReferenceCache, structureStartCache, world
Constructor and Description |
---|
ChunkGeneratorFlat(IWorld p_i48958_1_,
BiomeProvider p_i48958_2_,
FlatGenSettings p_i48958_3_) |
Modifier and Type | Method and Description |
---|---|
void |
carve(WorldGenRegion region,
GenerationStage.Carving carvingStage) |
void |
decorate(WorldGenRegion region) |
BlockPos |
findNearestStructure(World worldIn,
java.lang.String name,
BlockPos pos,
int radius,
boolean p_211403_5_) |
void |
func_202100_a(int p_202100_1_,
int p_202100_2_,
IChunk p_202100_3_) |
double[] |
generateNoiseRegion(int x,
int z) |
int |
getGroundHeight() |
java.util.List<Biome.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
FlatGenSettings |
getSettings() |
IFeatureConfig |
getStructureConfig(Biome biomeIn,
Structure<? extends IFeatureConfig> structureIn) |
boolean |
hasStructure(Biome biomeIn,
Structure<? extends IFeatureConfig> structureIn) |
void |
makeBase(IChunk chunkIn) |
int |
spawnMobs(World worldIn,
boolean spawnHostileMobs,
boolean spawnPeacefulMobs) |
void |
spawnMobs(WorldGenRegion region) |
buildSurface, getBiomeProvider, getMaxHeight, getSeed, getStructurePositionToReferenceMap, getStructureReferenceToStartMap, makeBedrock
public ChunkGeneratorFlat(IWorld p_i48958_1_, BiomeProvider p_i48958_2_, FlatGenSettings p_i48958_3_)
public void makeBase(IChunk chunkIn)
public void carve(WorldGenRegion region, GenerationStage.Carving carvingStage)
carve
in interface IChunkGenerator<FlatGenSettings>
carve
in class AbstractChunkGenerator<FlatGenSettings>
public FlatGenSettings getSettings()
getSettings
in interface IChunkGenerator<FlatGenSettings>
getSettings
in class AbstractChunkGenerator<FlatGenSettings>
public double[] generateNoiseRegion(int x, int z)
generateNoiseRegion
in class AbstractChunkGenerator<FlatGenSettings>
public int getGroundHeight()
public void decorate(WorldGenRegion region)
decorate
in interface IChunkGenerator<FlatGenSettings>
decorate
in class AbstractChunkGenerator<FlatGenSettings>
public void spawnMobs(WorldGenRegion region)
public void func_202100_a(int p_202100_1_, int p_202100_2_, IChunk p_202100_3_)
public java.util.List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
public int spawnMobs(World worldIn, boolean spawnHostileMobs, boolean spawnPeacefulMobs)
public boolean hasStructure(Biome biomeIn, Structure<? extends IFeatureConfig> structureIn)
hasStructure
in interface IChunkGenerator<FlatGenSettings>
hasStructure
in class AbstractChunkGenerator<FlatGenSettings>
@Nullable public IFeatureConfig getStructureConfig(Biome biomeIn, Structure<? extends IFeatureConfig> structureIn)
getStructureConfig
in interface IChunkGenerator<FlatGenSettings>
getStructureConfig
in class AbstractChunkGenerator<FlatGenSettings>
@Nullable public BlockPos findNearestStructure(World worldIn, java.lang.String name, BlockPos pos, int radius, boolean p_211403_5_)
findNearestStructure
in interface IChunkGenerator<FlatGenSettings>
findNearestStructure
in class AbstractChunkGenerator<FlatGenSettings>