net.minecraft.world.level.chunk

public abstract class ChunkGenerator

daq
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.class_2794
net.minecraft.unmapped.C_kgfalbim
net.minecraft.world.gen.chunk.ChunkGenerator
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
f_vzeswpuk
CODEC
CODEC
f_62136_
protected final BiomeSource
b
biomeSource
field_12761
f_acfecigk
biomeSource
populationSource
f_62137_
private final Supplier<List<FeatureSorter$StepFeatureData>>
c
featuresPerStep
field_39412
f_evyeazfo
indexedFeaturesListSupplier
f_223020_
private final Function<Holder<Biome>, BiomeGenerationSettings>
d
generationSettingsGetter
field_39413
f_tgxfgajp
generationSettingsGetter
settingsGetter
f_223021_

Constructor summary

ModifierConstructor
public (BiomeSource biomeSource)
public (BiomeSource biomeSource, Function<Holder<Biome>, BiomeGenerationSettings> generationSettingsGetter)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>
a()
codec()
method_28506()
m_blqkvkse()
getCodec()
getCodec()
m_6909_()
public ChunkGeneratorStructureState
a(hb<dov> arg0, dep arg1, long arg2)
createState(HolderLookup<StructureSet> arg0, RandomState arg1, long arg2)
method_46696(class_7225<class_7059> arg0, class_7138 arg1, long arg2)
m_caesvqvr(C_vtbxyypo<C_nmlisvai> arg0, C_edfiqifk arg1, long arg2)
createStructurePlacementCalculator(RegistryWrapper<StructureSet> structureSetRegistry, NoiseConfig noiseConfig, long seed)
m_255169_(C_213466_<C_207023_> p_256101_, C_213138_ p_256018_, long arg2)
public Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
b()
getTypeNameForDataFixer()
method_39301()
m_wzarohnq()
getCodecKey()
getCodecKey()
m_187743_()
public CompletableFuture<ChunkAccess>
a(Executor arg0, dep arg1, dfd arg2, ckn arg3, dap arg4)
createBiomes(Executor arg0, RandomState arg1, Blender arg2, StructureManager arg3, ChunkAccess arg4)
method_38275(Executor arg0, class_7138 arg1, class_6748 arg2, class_5138 arg3, class_2791 arg4)
m_jkzsezwm(Executor arg0, C_edfiqifk arg1, C_pfqozslu arg2, C_rhdulivw arg3, C_lwzmmmqr arg4)
populateBiomes(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk)
populateBiomes(Executor executor, RandomState randomState, Blender blender, StructureManager structureManager, Chunk chunk)
m_213908_(Executor p_223160_, C_213138_ p_223161_, C_182955_ p_223162_, C_213086_ p_223163_, C_2116_ arg4)
public abstract void
a(aht arg0, long arg1, dep arg2, ckv arg3, ckn arg4, dap arg5, ddx$a arg6)
applyCarvers(WorldGenRegion arg0, long arg1, RandomState arg2, BiomeManager arg3, StructureManager arg4, ChunkAccess arg5, GenerationStep$Carving arg6)
method_12108(class_3233 arg0, long arg1, class_7138 arg2, class_4543 arg3, class_5138 arg4, class_2791 arg5, class_2893$class_2894 arg6)
m_ufytgbmf(C_ezymcfey arg0, long arg1, C_edfiqifk arg2, C_txmmiamu arg3, C_rhdulivw arg4, C_lwzmmmqr arg5, C_rdrmebyw$C_smrpgmrn arg6)
carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep$Carver carverStep)
carve(ChunkRegion chunkRegion, long seed, RandomState randomState, BiomeAccess biomeAccess, StructureManager structureManager, Chunk chunk, GenerationStep$Carver generationStep)
m_213679_(C_19_ p_223044_, long p_223045_, C_213138_ p_223047_, C_1642_ p_223048_, C_213086_ p_223049_, C_2116_ arg5, C_2187_$C_2188_ arg6)
public com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(ahm arg0, hd<dop> arg1, gp arg2, int arg3, boolean arg4)
findNearestMapStructure(ServerLevel arg0, HolderSet<Structure> arg1, BlockPos arg2, int arg3, boolean arg4)
method_12103(class_3218 arg0, class_6885<class_3195> arg1, class_2338 arg2, int arg3, boolean arg4)
m_jnrbhhio(C_bdwnwhiu arg0, C_odfnijdo<C_quklzgtb> arg1, C_hynzadkk arg2, int arg3, boolean arg4)
locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures)
findFirst(ServerWorld world, HolderSet<StructureFeature> structures, BlockPos pos, int range, boolean arg4)
m_223037_(C_12_ p_223039_, C_203233_<C_213164_> p_223040_, C_4675_ p_223041_, int p_223042_, boolean arg4)
private com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<gz<dop>> arg0, ahm arg1, ckn arg2, gp arg3, boolean arg4, dpj arg5)
getNearestGeneratedStructure(Set<Holder<Structure>> arg0, ServerLevel arg1, StructureManager arg2, BlockPos arg3, boolean arg4, ConcentricRingsStructurePlacement arg5)
method_40148(Set<class_6880<class_3195>> arg0, class_3218 arg1, class_5138 arg2, class_2338 arg3, boolean arg4, class_6871 arg5)
m_psbleumj(Set<C_cjzoxshv<C_quklzgtb>> arg0, C_bdwnwhiu arg1, C_rhdulivw arg2, C_hynzadkk arg3, boolean arg4, C_pwqsutzz arg5)
locateConcentricRingsStructure(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, ConcentricRingsStructurePlacement placement)
findStructures(Set<Holder<StructureFeature>> structures, ServerWorld world, StructureManager structureManager, BlockPos pos, boolean arg4, ConcentricRingsStructurePlacement placement)
m_223181_(Set<C_203228_<C_213164_>> p_223183_, C_12_ p_223184_, C_213086_ p_223185_, C_4675_ p_223186_, boolean p_223187_, C_203218_ arg5)
private static com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<gz<dop>> arg0, cjz arg1, ckn arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, dpk arg8)
getNearestGeneratedStructure(Set<Holder<Structure>> arg0, LevelReader arg1, StructureManager arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, RandomSpreadStructurePlacement arg8)
method_40146(Set<class_6880<class_3195>> arg0, class_4538 arg1, class_5138 arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, class_6872 arg8)
m_locgzhcn(Set<C_cjzoxshv<C_quklzgtb>> arg0, C_eemzphbi arg1, C_rhdulivw arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, C_cznbjngb arg8)
locateRandomSpreadStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement)
m_locgzhcn(Set<Holder<StructureFeature>> arg0, WorldView world, StructureManager arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, RandomSpreadStructurePlacement arg8)
m_223188_(Set<C_203228_<C_213164_>> p_223189_, C_1599_ p_223190_, C_213086_ p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, C_203219_ arg8)
private static com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<gz<dop>> arg0, cjz arg1, ckn arg2, boolean arg3, dpm arg4, cjd arg5)
getStructureGeneratingAt(Set<Holder<Structure>> arg0, LevelReader arg1, StructureManager arg2, boolean arg3, StructurePlacement arg4, ChunkPos arg5)
method_41522(Set<class_6880<class_3195>> arg0, class_4538 arg1, class_5138 arg2, boolean arg3, class_6874 arg4, class_1923 arg5)
m_gxxzcexz(Set<C_cjzoxshv<C_quklzgtb>> arg0, C_eemzphbi arg1, C_rhdulivw arg2, boolean arg3, C_dzcnonip arg4, C_ynrszrtu arg5)
locateStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos)
m_gxxzcexz(Set<Holder<StructureFeature>> arg0, WorldView world, StructureManager arg2, boolean arg3, StructurePlacement arg4, ChunkPos arg5)
m_223198_(Set<C_203228_<C_213164_>> p_223199_, C_1599_ p_223200_, C_213086_ p_223201_, boolean p_223202_, C_203222_ p_223203_, C_1560_ p_223204_)
private static boolean
a(ckn arg0, dox arg1)
tryAddReference(StructureManager arg0, StructureStart arg1)
method_41521(class_5138 arg0, class_3449 arg1)
m_gvpevbgi(C_rhdulivw arg0, C_efiavfys arg1)
checkNotReferenced(StructureAccessor structureAccessor, StructureStart start)
checkNotReferenced(StructureManager structureManager, StructureStart start)
m_223059_(C_213086_ p_223060_, C_2588_ p_223061_)
public void
a(ckp arg0, dap arg1, ckn arg2)
applyBiomeDecoration(WorldGenLevel arg0, ChunkAccess arg1, StructureManager arg2)
method_12102(class_5281 arg0, class_2791 arg1, class_5138 arg2)
m_ffmeoonw(C_ldkphtbr arg0, C_lwzmmmqr arg1, C_rhdulivw arg2)
generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor)
generateFeatures(StructureWorldAccess world, Chunk chunk, StructureManager arg2)
m_213609_(C_1625_ p_223088_, C_2116_ p_223089_, C_213086_ arg2)
private static BoundingBox
a(dap arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
m_pvcvuoch(C_lwzmmmqr arg0)
getBlockBoxForChunk(Chunk chunk)
getBlockBoxForChunk(Chunk chunk)
m_187717_(C_2116_ p_187718_)
public abstract void
a(aht arg0, ckn arg1, dep arg2, dap arg3)
buildSurface(WorldGenRegion arg0, StructureManager arg1, RandomState arg2, ChunkAccess arg3)
method_12110(class_3233 arg0, class_5138 arg1, class_7138 arg2, class_2791 arg3)
m_woetbmqo(C_ezymcfey arg0, C_rhdulivw arg1, C_edfiqifk arg2, C_lwzmmmqr arg3)
buildSurface(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk)
buildSurface(ChunkRegion region, StructureManager structureManager, RandomState randomState, Chunk chunk)
m_214194_(C_19_ p_223051_, C_213086_ p_223052_, C_213138_ p_223053_, C_2116_ arg3)
public abstract void
a(aht arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
m_xoblypwv(C_ezymcfey arg0)
populateEntities(ChunkRegion region)
populateEntities(ChunkRegion region)
m_6929_(C_19_ arg0)
public int
a(cjy arg0)
getSpawnHeight(LevelHeightAccessor arg0)
method_12100(class_5539 arg0)
m_yhwflvjc(C_qpninoyb arg0)
getSpawnHeight(HeightLimitView world)
getSpawnHeight(HeightLimitView world)
m_142051_(C_141183_ arg0)
public BiomeSource
c()
getBiomeSource()
method_12098()
m_ajumqnmd()
getBiomeSource()
getBiomeSource()
m_62218_()
public abstract int
d()
getGenDepth()
method_12104()
m_ruxnirnc()
getWorldHeight()
getWorldHeight()
m_6331_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(gz<ckt> arg0, ckn arg1, bej arg2, gp arg3)
getMobsAt(Holder<Biome> arg0, StructureManager arg1, MobCategory arg2, BlockPos arg3)
method_12113(class_6880<class_1959> arg0, class_5138 arg1, class_1311 arg2, class_2338 arg3)
m_puoyodgd(C_cjzoxshv<C_orlkpefs> arg0, C_rhdulivw arg1, C_ormqdxci arg2, C_hynzadkk arg3)
getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
getEntitySpawnList(Holder<Biome> biome, StructureManager structureManager, SpawnGroup group, BlockPos pos)
m_223133_(C_203228_<C_1629_> p_223135_, C_213086_ p_223136_, C_528_ p_223137_, C_4675_ arg3)
public void
a(hn arg0, dar arg1, ckn arg2, dap arg3, dsi arg4)
createStructures(RegistryAccess arg0, ChunkGeneratorStructureState arg1, StructureManager arg2, ChunkAccess arg3, StructureTemplateManager arg4)
method_16129(class_5455 arg0, class_7869 arg1, class_5138 arg2, class_2791 arg3, class_3485 arg4)
m_bbjdszxg(C_wqxmvzdq arg0, C_jibygqpu arg1, C_rhdulivw arg2, C_lwzmmmqr arg3, C_zxhjfyir arg4)
setStructureStarts(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager)
setStructureStarts(DynamicRegistryManager registryManager, C_jibygqpu arg1, StructureManager structureManager, Chunk chunk, StructureTemplateManager templateManager)
m_255037_(C_4706_ p_256505_, C_254614_ p_255934_, C_213086_ p_255767_, C_2116_ p_255832_, C_213305_ arg4)
private boolean
a(dov$a arg0, ckn arg1, hn arg2, dep arg3, dsi arg4, long arg5, dap arg6, cjd arg7, hs arg8)
tryGenerateStructure(StructureSet$StructureSelectionEntry arg0, StructureManager arg1, RegistryAccess arg2, RandomState arg3, StructureTemplateManager arg4, long arg5, ChunkAccess arg6, ChunkPos arg7, SectionPos arg8)
method_41044(class_7059$class_7060 arg0, class_5138 arg1, class_5455 arg2, class_7138 arg3, class_3485 arg4, long arg5, class_2791 arg6, class_1923 arg7, class_4076 arg8)
m_dbfhxbvh(C_nmlisvai$C_gmatxzeb arg0, C_rhdulivw arg1, C_wqxmvzdq arg2, C_edfiqifk arg3, C_zxhjfyir arg4, long arg5, C_lwzmmmqr arg6, C_ynrszrtu arg7, C_zubvmeye arg8)
trySetStructureStart(StructureSet$WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos)
m_dbfhxbvh(StructureSet$StructureSelectionEntry arg0, StructureManager arg1, DynamicRegistryManager registryManager, RandomState arg3, StructureTemplateManager arg4, long arg5, Chunk arg6, ChunkPos arg7, ChunkSectionPos arg8)
m_223104_(C_207023_$C_207024_ p_223106_, C_213086_ p_223107_, C_4706_ p_223108_, C_213138_ p_223109_, C_213305_ p_223110_, long p_223111_, C_2116_ p_223113_, C_1560_ arg7, C_4710_ arg8)
private static int
a(ckn arg0, dap arg1, hs arg2, dop arg3)
fetchReferences(StructureManager arg0, ChunkAccess arg1, SectionPos arg2, Structure arg3)
method_38264(class_5138 arg0, class_2791 arg1, class_4076 arg2, class_3195 arg3)
m_gobnuobv(C_rhdulivw arg0, C_lwzmmmqr arg1, C_zubvmeye arg2, C_quklzgtb arg3)
getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure)
getStructureReferences(StructureManager arg0, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature arg3)
m_223054_(C_213086_ p_223055_, C_2116_ p_223056_, C_4710_ p_223057_, C_213164_ p_223058_)
public void
a(ckp arg0, ckn arg1, dap arg2)
createReferences(WorldGenLevel arg0, StructureManager arg1, ChunkAccess arg2)
method_16130(class_5281 arg0, class_5138 arg1, class_2791 arg2)
m_pvlcnhkg(C_ldkphtbr arg0, C_rhdulivw arg1, C_lwzmmmqr arg2)
addStructureReferences(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk)
addStructureReferences(StructureWorldAccess world, StructureManager structureManager, Chunk chunk)
m_223076_(C_1625_ p_223078_, C_213086_ p_223079_, C_2116_ arg2)
public abstract CompletableFuture<ChunkAccess>
a(Executor arg0, dfd arg1, dep arg2, ckn arg3, dap arg4)
fillFromNoise(Executor arg0, Blender arg1, RandomState arg2, StructureManager arg3, ChunkAccess arg4)
method_12088(Executor arg0, class_6748 arg1, class_7138 arg2, class_5138 arg3, class_2791 arg4)
m_evqkkueh(Executor arg0, C_pfqozslu arg1, C_edfiqifk arg2, C_rhdulivw arg3, C_lwzmmmqr arg4)
populateNoise(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk)
populateNoise(Executor executor, Blender blender, RandomState randomState, StructureManager structureManager, Chunk chunk)
m_213974_(Executor p_223210_, C_182955_ p_223211_, C_213138_ p_223212_, C_213086_ p_223213_, C_2116_ arg4)
public abstract int
e()
getSeaLevel()
method_16398()
m_taborzul()
getSeaLevel()
getSeaLevel()
m_6337_()
public abstract int
f()
getMinY()
method_33730()
m_xuesqjcb()
getMinimumY()
getMinimumY()
m_142062_()
public abstract int
a(int arg0, int arg1, deb$a arg2, cjy arg3, dep arg4)
getBaseHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3, RandomState arg4)
method_16397(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3, class_7138 arg4)
m_eyzuuexw(int arg0, int arg1, C_ybztoekc$C_wkdeqzbn arg2, C_qpninoyb arg3, C_edfiqifk arg4)
getHeight(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
getHeight(int x, int z, Heightmap$Type heightmap, HeightLimitView world, RandomState randomState)
m_214096_(int p_223033_, int p_223034_, C_2190_$C_2191_ p_223035_, C_141183_ p_223036_, C_213138_ arg4)
public abstract NoiseColumn
a(int arg0, int arg1, cjy arg2, dep arg3)
getBaseColumn(int arg0, int arg1, LevelHeightAccessor arg2, RandomState arg3)
method_26261(int arg0, int arg1, class_5539 arg2, class_7138 arg3)
m_dmhpibgx(int arg0, int arg1, C_qpninoyb arg2, C_edfiqifk arg3)
getColumnSample(int x, int z, HeightLimitView world, NoiseConfig noiseConfig)
getColumnSample(int x, int z, HeightLimitView world, RandomState randomState)
m_214184_(int p_223029_, int p_223030_, C_141183_ p_223031_, C_213138_ arg3)
public int
b(int arg0, int arg1, deb$a arg2, cjy arg3, dep arg4)
getFirstFreeHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3, RandomState arg4)
method_20402(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3, class_7138 arg4)
m_jbuktzxf(int arg0, int arg1, C_ybztoekc$C_wkdeqzbn arg2, C_qpninoyb arg3, C_edfiqifk arg4)
getHeightOnGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
getHeightOnGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, RandomState randomState)
m_223221_(int p_223223_, int p_223224_, C_2190_$C_2191_ p_223225_, C_141183_ p_223226_, C_213138_ arg4)
public int
c(int arg0, int arg1, deb$a arg2, cjy arg3, dep arg4)
getFirstOccupiedHeight(int arg0, int arg1, Heightmap$Types arg2, LevelHeightAccessor arg3, RandomState arg4)
method_18028(int arg0, int arg1, class_2902$class_2903 arg2, class_5539 arg3, class_7138 arg4)
m_wocuxbxx(int arg0, int arg1, C_ybztoekc$C_wkdeqzbn arg2, C_qpninoyb arg3, C_edfiqifk arg4)
getHeightInGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
getHeightInGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, RandomState randomState)
m_223235_(int p_223237_, int p_223238_, C_2190_$C_2191_ p_223239_, C_141183_ p_223240_, C_213138_ arg4)
public abstract void
a(List<String> arg0, dep arg1, gp arg2)
addDebugScreenInfo(List<String> arg0, RandomState arg1, BlockPos arg2)
method_40450(List<String> arg0, class_7138 arg1, class_2338 arg2)
m_hfetlfug(List<String> arg0, C_edfiqifk arg1, C_hynzadkk arg2)
getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos)
m_hfetlfug(List<String> arg0, RandomState randomState, BlockPos pos)
m_213600_(List<String> p_223176_, C_213138_ p_223177_, C_4675_ arg2)
public BiomeGenerationSettings
a(gz<ckt> arg0)
getBiomeGenerationSettings(Holder<Biome> arg0)
method_44216(class_6880<class_1959> arg0)
m_dsmekobm(C_cjzoxshv<C_orlkpefs> arg0)
getGenerationSettings(RegistryEntry<Biome> biomeEntry)
getSettings(Holder<Biome> biome)
m_223131_(C_203228_<C_1629_> arg0)