public class FlatChunkGenerator extends ChunkGenerator<FlatGenerationSettings>
Modifier and Type | Class and Description |
---|---|
(package private) class |
FlatChunkGenerator.WrapperBiome |
Modifier and Type | Field and Description |
---|---|
private Biome |
biome |
private CatSpawner |
field_222544_g |
private PhantomSpawner |
phantomSpawner |
biomeProvider, seed, settings, world
Constructor and Description |
---|
FlatChunkGenerator(IWorld worldIn,
BiomeProvider biomeProviderIn,
FlatGenerationSettings settingsIn) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
findNearestStructure(World worldIn,
java.lang.String name,
BlockPos pos,
int radius,
boolean skipExistingChunks) |
private Biome |
func_202099_e() |
int |
func_222529_a(int p_222529_1_,
int p_222529_2_,
Heightmap.Type heightmapType) |
void |
generateSurface(WorldGenRegion p_225551_1_,
IChunk p_225551_2_) |
protected Biome |
getBiome(BiomeManager biomeManagerIn,
BlockPos posIn) |
int |
getGroundHeight() |
<C extends IFeatureConfig> |
getStructureConfig(Biome biomeIn,
Structure<C> structureIn) |
boolean |
hasStructure(Biome biomeIn,
Structure<? extends IFeatureConfig> structureIn) |
void |
makeBase(IWorld worldIn,
IChunk chunkIn) |
void |
spawnMobs(ServerWorld worldIn,
boolean spawnHostileMobs,
boolean spawnPeacefulMobs) |
decorate, func_222531_c, func_222532_b, func_225550_a_, generateBiomes, generateStructures, generateStructureStarts, getBiomeProvider, getMaxHeight, getPossibleCreatures, getSeaLevel, getSeed, getSettings, spawnMobs
private final Biome biome
private final PhantomSpawner phantomSpawner
private final CatSpawner field_222544_g
public FlatChunkGenerator(IWorld worldIn, BiomeProvider biomeProviderIn, FlatGenerationSettings settingsIn)
private Biome func_202099_e()
public void generateSurface(WorldGenRegion p_225551_1_, IChunk p_225551_2_)
generateSurface
in class ChunkGenerator<FlatGenerationSettings>
public int getGroundHeight()
getGroundHeight
in class ChunkGenerator<FlatGenerationSettings>
protected Biome getBiome(BiomeManager biomeManagerIn, BlockPos posIn)
getBiome
in class ChunkGenerator<FlatGenerationSettings>
public void makeBase(IWorld worldIn, IChunk chunkIn)
makeBase
in class ChunkGenerator<FlatGenerationSettings>
public int func_222529_a(int p_222529_1_, int p_222529_2_, Heightmap.Type heightmapType)
func_222529_a
in class ChunkGenerator<FlatGenerationSettings>
public void spawnMobs(ServerWorld worldIn, boolean spawnHostileMobs, boolean spawnPeacefulMobs)
spawnMobs
in class ChunkGenerator<FlatGenerationSettings>
public boolean hasStructure(Biome biomeIn, Structure<? extends IFeatureConfig> structureIn)
hasStructure
in class ChunkGenerator<FlatGenerationSettings>
@Nullable public <C extends IFeatureConfig> C getStructureConfig(Biome biomeIn, Structure<C> structureIn)
getStructureConfig
in class ChunkGenerator<FlatGenerationSettings>
@Nullable public BlockPos findNearestStructure(World worldIn, java.lang.String name, BlockPos pos, int radius, boolean skipExistingChunks)
findNearestStructure
in class ChunkGenerator<FlatGenerationSettings>