net.minecraft.world.level.chunk

public abstract class ChunkGenerator

dzq
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.IChunkAccess

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
biomeSource
f_62137_
private final Supplier<List<FeatureSorter$StepFeatureData>>
c
featuresPerStep
field_39412
f_evyeazfo
indexedFeaturesListSupplier
featureSteps
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
public void
a()
validate()
method_59825()
m_juqkdmxz()
initializeIndexedFeaturesList()
validateFeatureOrder()
m_321960_()
protected abstract com.mojang.serialization.MapCodec<? extends ChunkGenerator>
b()
codec()
method_28506()
m_blqkvkse()
getCodec()
getCodec()
m_6909_()
public ChunkGeneratorStructureState
a(js<eop> arg0, eed 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)
createConcentricRingPlacementCalculator(HolderLookup<StructureSet> structureSetLookup, RandomState randomState, long seed)
m_255169_(C_213466_<C_207023_> p_256101_, C_213138_ p_256018_, long arg2)
public Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>>
c()
getTypeNameForDataFixer()
method_39301()
m_wzarohnq()
getCodecKey()
getCodecKey()
m_187743_()
public CompletableFuture<ChunkAccess>
a(eed arg0, eer arg1, did arg2, dzp arg3)
createBiomes(RandomState arg0, Blender arg1, StructureManager arg2, ChunkAccess arg3)
method_38275(class_7138 arg0, class_6748 arg1, class_5138 arg2, class_2791 arg3)
m_jkzsezwm(C_edfiqifk arg0, C_pfqozslu arg1, C_rhdulivw arg2, C_lwzmmmqr arg3)
populateBiomes(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk)
populateBiomes(RandomState randomState, Blender blender, StructureManager structureManager, Chunk chunk)
m_213908_(C_213138_ p_223161_, C_182955_ p_223162_, C_213086_ p_223163_, C_2116_ arg3)
public abstract void
a(asp arg0, long arg1, eed arg2, dil arg3, did arg4, dzp arg5)
applyCarvers(WorldGenRegion arg0, long arg1, RandomState arg2, BiomeManager arg3, StructureManager arg4, ChunkAccess arg5)
method_12108(class_3233 arg0, long arg1, class_7138 arg2, class_4543 arg3, class_5138 arg4, class_2791 arg5)
m_ufytgbmf(C_ezymcfey arg0, long arg1, C_edfiqifk arg2, C_txmmiamu arg3, C_rhdulivw arg4, C_lwzmmmqr arg5)
carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk)
carve(ChunkRegion chunkRegion, long seed, RandomState randomState, BiomeAccess biomeAccess, StructureManager structureManager, Chunk chunk)
m_213679_(C_19_ p_223044_, long p_223045_, C_213138_ p_223047_, C_1642_ p_223048_, C_213086_ arg4, C_2116_ arg5)
public com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(ash arg0, ju<eoj> arg1, jh 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 skipExistingChunks)
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<jq<eoj>> arg0, ash arg1, did arg2, jh arg3, boolean arg4, epd 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)
findConcentricStructures(Set<Holder<StructureFeature>> structures, ServerWorld world, StructureManager structureManager, BlockPos pos, boolean skipExistingChunks, 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<jq<eoj>> arg0, dhk arg1, did arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, epe 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)
findFirst(Set<Holder<StructureFeature>> features, WorldView world, StructureManager structureManager, int chunkX, int chunkZ, int range, boolean skipExistingChunks, long seed, RandomSpreadStructurePlacement randomPlacement)
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<jq<eoj>> arg0, dhk arg1, did arg2, boolean arg3, epg arg4, dgn 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)
find(Set<Holder<StructureFeature>> features, WorldView world, StructureManager structureManager, boolean skipExistingChunks, StructurePlacement placement, ChunkPos pos)
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(did arg0, eor 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(dif arg0, dzp arg1, did 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 structureManager)
m_213609_(C_1625_ p_223088_, C_2116_ p_223089_, C_213086_ arg2)
private static BoundingBox
a(dzp 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(asp arg0, did arg1, eed arg2, dzp 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(asp 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(dhj 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
d()
getBiomeSource()
method_12098()
m_ajumqnmd()
getBiomeSource()
getBiomeSource()
m_62218_()
public abstract int
e()
getGenDepth()
method_12104()
m_ruxnirnc()
getWorldHeight()
getWorldHeight()
m_6331_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(jq<dij> arg0, did arg1, bwi arg2, jh 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(ke arg0, dzr arg1, did arg2, dzp arg3, esm 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, ConcentricRingPlacementCalculator concentricCalculator, 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(eop$a arg0, did arg1, ke arg2, eed arg3, esm arg4, long arg5, dzp arg6, dgn arg7, kj 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)
tryGenerateStructure(StructureSet$StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, DynamicRegistryManager registryManager, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos)
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(did arg0, dzp arg1, kj arg2, eoj 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 structureManager, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature feature)
m_223054_(C_213086_ p_223055_, C_2116_ p_223056_, C_4710_ p_223057_, C_213164_ p_223058_)
public void
a(dif arg0, did arg1, dzp 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(eer arg0, eed arg1, did arg2, dzp arg3)
fillFromNoise(Blender arg0, RandomState arg1, StructureManager arg2, ChunkAccess arg3)
method_12088(class_6748 arg0, class_7138 arg1, class_5138 arg2, class_2791 arg3)
m_evqkkueh(C_pfqozslu arg0, C_edfiqifk arg1, C_rhdulivw arg2, C_lwzmmmqr arg3)
populateNoise(Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk)
populateNoise(Blender blender, RandomState randomState, StructureManager structureManager, Chunk chunk)
m_213974_(C_182955_ p_223211_, C_213138_ p_223212_, C_213086_ p_223213_, C_2116_ arg3)
public abstract int
f()
getSeaLevel()
method_16398()
m_taborzul()
getSeaLevel()
getSeaLevel()
m_6337_()
public abstract int
g()
getMinY()
method_33730()
m_xuesqjcb()
getMinimumY()
getMinimumY()
m_142062_()
public abstract int
a(int arg0, int arg1, edp$a arg2, dhj arg3, eed 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, dhj arg2, eed 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, edp$a arg2, dhj arg3, eed 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, edp$a arg2, dhj arg3, eed 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, eed arg1, jh 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)
appendDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos)
addDebugLines(List<String> lines, RandomState randomState, BlockPos pos)
m_213600_(List<String> p_223176_, C_213138_ p_223177_, C_4675_ arg2)
public BiomeGenerationSettings
a(jq<dij> 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)