public interface IChunkGenerator<C extends IChunkGenSettings>
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_) |
BiomeProvider |
getBiomeProvider() |
int |
getGroundHeight() |
int |
getMaxHeight() |
java.util.List<Biome.SpawnListEntry> |
getPossibleCreatures(EnumCreatureType creatureType,
BlockPos pos) |
long |
getSeed() |
C |
getSettings() |
IFeatureConfig |
getStructureConfig(Biome biomeIn,
Structure<? extends IFeatureConfig> structureIn) |
it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.longs.LongSet> |
getStructurePositionToReferenceMap(Structure<? extends IFeatureConfig> structureIn) |
it.unimi.dsi.fastutil.longs.Long2ObjectMap<StructureStart> |
getStructureReferenceToStartMap(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) |
void makeBase(IChunk chunkIn)
void carve(WorldGenRegion region, GenerationStage.Carving carvingStage)
void decorate(WorldGenRegion region)
void spawnMobs(WorldGenRegion region)
java.util.List<Biome.SpawnListEntry> getPossibleCreatures(EnumCreatureType creatureType, BlockPos pos)
@Nullable BlockPos findNearestStructure(World worldIn, java.lang.String name, BlockPos pos, int radius, boolean p_211403_5_)
C getSettings()
int spawnMobs(World worldIn, boolean spawnHostileMobs, boolean spawnPeacefulMobs)
boolean hasStructure(Biome biomeIn, Structure<? extends IFeatureConfig> structureIn)
@Nullable IFeatureConfig getStructureConfig(Biome biomeIn, Structure<? extends IFeatureConfig> structureIn)
it.unimi.dsi.fastutil.longs.Long2ObjectMap<StructureStart> getStructureReferenceToStartMap(Structure<? extends IFeatureConfig> structureIn)
it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.longs.LongSet> getStructurePositionToReferenceMap(Structure<? extends IFeatureConfig> structureIn)
BiomeProvider getBiomeProvider()
long getSeed()
int getGroundHeight()
int getMaxHeight()