net.minecraft.world.level.chunk

public abstract class ChunkGenerator

cmn
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.class_2794
net.minecraft.world.gen.chunk.ChunkGenerator
net.minecraft.src.C_2118_
net.minecraft.world.level.chunk.ChunkGenerator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ChunkGenerator>
a
CODEC
field_24746
CODEC
f_62136_
protected final BiomeSource
b
biomeSource
field_12761
populationSource
f_62137_
protected final BiomeSource
c
runtimeBiomeSource
field_24747
biomeSource
f_62138_
private final StructureSettings
d
settings
field_16567
structuresConfig
f_62139_
private final long
e
strongholdSeed
field_24748
worldSeed
f_62140_
private final List<ChunkPos>
f
strongholdPositions
field_24749
strongholds
f_62141_
private final BaseStoneSource
g
defaultBaseStoneSource
field_33512
blockSource
f_156149_

Constructor summary

ModifierConstructor
public (BiomeSource biomeSource, StructureSettings structuresConfig)
public (BiomeSource populationSource, BiomeSource biomeSource, StructureSettings structuresConfig, long worldSeed)

Method summary

Modifier and TypeMethod
private void
h()
generateStrongholds()
method_28509()
generateStrongholdPositions()
m_62219_()
protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>
a()
codec()
method_28506()
getCodec()
m_6909_()
public abstract ChunkGenerator
a(long arg0)
withSeed(long arg0)
method_27997(long arg0)
withSeed(long seed)
m_6819_(long arg0)
withSeed(long arg0)
public void
a(gw<bxo> arg0, cml arg1)
createBiomes(Registry<Biome> arg0, ChunkAccess arg1)
method_12106(class_2378<class_1959> arg0, class_2791 arg1)
populateBiomes(Registry<Biome> biomeRegistry, Chunk chunk)
m_62196_(C_4705_<C_1629_> p_62198_, C_2116_ arg1)
createBiomes(IRegistry<BiomeBase> arg0, IChunkAccess arg1)
public void
a(long arg0, bxq arg1, cml arg2, cpo$a arg3)
applyCarvers(long arg0, BiomeManager arg1, ChunkAccess arg2, GenerationStep$Carving arg3)
method_12108(long arg0, class_4543 arg1, class_2791 arg2, class_2893$class_2894 arg3)
carve(long seed, BiomeAccess access, Chunk chunk, GenerationStep$Carver carver)
m_6013_(long p_62158_, C_1642_ p_62160_, C_2116_ arg2, C_2187_$C_2188_ arg3)
doCarving(long arg0, BiomeManager arg1, IChunkAccess arg2, WorldGenStage$Features arg3)
protected Aquifer
a(cml arg0)
createAquifer(ChunkAccess arg0)
method_36380(class_2791 arg0)
createAquiferSampler(Chunk chunk)
m_142439_(C_2116_ arg0)
public BlockPos
a(abr arg0, cuc<?> arg1, gg arg2, int arg3, boolean arg4)
findNearestMapFeature(ServerLevel arg0, StructureFeature<?> arg1, BlockPos arg2, int arg3, boolean arg4)
method_12103(class_3218 arg0, class_3195<?> arg1, class_2338 arg2, int arg3, boolean arg4)
locateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks)
m_62161_(C_12_ p_62163_, C_2304_<?> p_62164_, C_4675_ p_62165_, int p_62166_, boolean arg4)
findNearestMapFeature(WorldServer arg0, StructureGenerator<?> arg1, BlockPosition arg2, int arg3, boolean arg4)
public void
a(abx arg0, bxg arg1)
applyBiomeDecoration(WorldGenRegion arg0, StructureFeatureManager arg1)
method_12102(class_3233 arg0, class_5138 arg1)
generateFeatures(ChunkRegion region, StructureAccessor accessor)
m_7399_(C_19_ p_62169_, C_1621_ arg1)
addDecorations(RegionLimitedWorldAccess arg0, StructureManager arg1)
public abstract void
a(abx arg0, cml arg1)
buildSurfaceAndBedrock(WorldGenRegion arg0, ChunkAccess arg1)
method_12110(class_3233 arg0, class_2791 arg1)
buildSurface(ChunkRegion region, Chunk chunk)
m_7338_(C_19_ p_62171_, C_2116_ arg1)
buildBase(RegionLimitedWorldAccess arg0, IChunkAccess arg1)
public void
a(abx arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
m_6929_(C_19_ arg0)
addMobs(RegionLimitedWorldAccess arg0)
public StructureSettings
b()
getSettings()
method_12109()
getStructuresConfig()
m_62205_()
getSettings()
public int
a(bwr arg0)
getSpawnHeight(LevelHeightAccessor arg0)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView world)
m_142051_(C_141183_ arg0)
getSpawnHeight(LevelHeightAccessor arg0)
public BiomeSource
c()
getBiomeSource()
method_12098()
getBiomeSource()
m_62218_()
getWorldChunkManager()
public int
d()
getGenDepth()
method_12104()
getWorldHeight()
m_6331_()
getGenerationDepth()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(bxo arg0, bxg arg1, atw arg2, gg arg3)
getMobsAt(Biome arg0, StructureFeatureManager arg1, MobCategory arg2, BlockPos arg3)
method_12113(class_1959 arg0, class_5138 arg1, class_1311 arg2, class_2338 arg3)
getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
m_142184_(C_1629_ p_156159_, C_1621_ p_156160_, C_528_ p_156161_, C_4675_ arg3)
getMobsFor(BiomeBase arg0, StructureManager arg1, EnumCreatureType arg2, BlockPosition arg3)
public void
a(gx arg0, bxg arg1, cml arg2, dcp arg3, long arg4)
createStructures(RegistryAccess arg0, StructureFeatureManager arg1, ChunkAccess arg2, StructureManager arg3, long arg4)
method_16129(class_5455 arg0, class_5138 arg1, class_2791 arg2, class_3485 arg3, long arg4)
setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed)
m_62199_(C_4706_ p_62201_, C_1621_ p_62202_, C_2116_ p_62203_, C_2627_ p_62204_, long arg4)
createStructures(IRegistryCustom arg0, StructureManager arg1, IChunkAccess arg2, DefinedStructureManager arg3, long arg4)
private void
a(cro<?, ?> arg0, gx arg1, bxg arg2, cml arg3, dcp arg4, long arg5, bxo arg6)
createStructure(ConfiguredStructureFeature<?, ?> arg0, RegistryAccess arg1, StructureFeatureManager arg2, ChunkAccess arg3, StructureManager arg4, long arg5, Biome arg6)
method_28508(class_5312<?, ?> arg0, class_5455 arg1, class_5138 arg2, class_2791 arg3, class_3485 arg4, long arg5, class_1959 arg6)
setStructureStart(ConfiguredStructureFeature<?, ?> feature, DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed, Biome biome)
m_156163_(C_2228_<?, ?> p_156165_, C_4706_ p_156166_, C_1621_ p_156167_, C_2116_ p_156168_, C_2627_ p_156169_, long p_156170_, C_1629_ arg6)
public void
a(bxk arg0, bxg arg1, cml arg2)
createReferences(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkAccess arg2)
method_16130(class_5281 arg0, class_5138 arg1, class_2791 arg2)
addStructureReferences(StructureWorldAccess world, StructureAccessor accessor, Chunk chunk)
m_62177_(C_1625_ p_62179_, C_1621_ p_62180_, C_2116_ arg2)
storeStructures(GeneratorAccessSeed arg0, StructureManager arg1, IChunkAccess arg2)
public abstract CompletableFuture<ChunkAccess>
a(Executor arg0, bxg arg1, cml arg2)
fillFromNoise(Executor arg0, StructureFeatureManager arg1, ChunkAccess arg2)
method_12088(Executor arg0, class_5138 arg1, class_2791 arg2)
populateNoise(Executor executor, StructureAccessor accessor, Chunk chunk)
m_142189_(Executor p_156172_, C_1621_ p_156173_, C_2116_ arg2)
buildNoise(Executor arg0, StructureManager arg1, IChunkAccess arg2)
public int
e()
getSeaLevel()
method_16398()
getSeaLevel()
m_6337_()
getSeaLevel()
public int
f()
getMinY()
method_33730()
getMinimumY()
m_142062_()
getMinY()
public abstract int
a(int arg0, int arg1, cps$a arg2, bwr arg3)
getBaseHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3)
method_16397(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3)
getHeight(int x, int z, Heightmap$Type heightmap, HeightLimitView world)
m_142647_(int p_156154_, int p_156155_, C_2190_$C_2191_ p_156156_, C_141183_ arg3)
getBaseHeight(int arg0, int arg1, HeightMap$Type arg2, LevelHeightAccessor arg3)
public abstract NoiseColumn
a(int arg0, int arg1, bwr arg2)
getBaseColumn(int arg0, int arg1, LevelHeightAccessor arg2)
method_26261(int arg0, int arg1, class_5539 arg2)
getColumnSample(int x, int z, HeightLimitView world)
m_141914_(int p_156151_, int p_156152_, C_141183_ arg2)
getBaseColumn(int arg0, int arg1, LevelHeightAccessor arg2)
public int
b(int arg0, int arg1, cps$a arg2, bwr arg3)
getFirstFreeHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3)
method_20402(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3)
getHeightOnGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world)
m_156174_(int p_156176_, int p_156177_, C_2190_$C_2191_ p_156178_, C_141183_ arg3)
public int
c(int arg0, int arg1, cps$a arg2, bwr arg3)
getFirstOccupiedHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3)
method_18028(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3)
getHeightInGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world)
m_156179_(int p_156181_, int p_156182_, C_2190_$C_2191_ p_156183_, C_141183_ arg3)
public boolean
a(bvu arg0)
hasStronghold(ChunkPos arg0)
method_28507(class_1923 arg0)
isStrongholdStartingChunk(ChunkPos pos)
m_62172_(C_1560_ arg0)
public BaseStoneSource
g()
getBaseStoneSource()
method_36294()
getBlockSource()
m_142168_()