net.minecraft.world.level.chunk

public abstract class ChunkGenerator

dle
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
biomeSource
f_62137_
private final Supplier<List<FeatureSorter$StepFeatureData>>
c
featuresPerStep
field_39412
indexedFeaturesListSupplier
f_223020_
private final Function<Holder<Biome>, BiomeGenerationSettings>
d
generationSettingsGetter
field_39413
generationSettingsGetter
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()
getCodec()
m_6909_()
public ChunkGeneratorStructureState
a(ij<dzm> arg0, dpe arg1, long arg2)
createState(HolderLookup<StructureSet> arg0, RandomState arg1, long arg2)
method_46696(class_7225<class_7059> arg0, class_7138 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()
getCodecKey()
m_187743_()
public CompletableFuture<ChunkAccess>
a(Executor arg0, dpe arg1, dps arg2, cui arg3, dld 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)
populateBiomes(Executor executor, NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, 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(ank arg0, long arg1, dpe arg2, cuq arg3, cui arg4, dld arg5, dom$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)
carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep$Carver carverStep)
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(and arg0, il<dzg> arg1, hx 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)
locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures)
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<ih<dzg>> arg0, and arg1, cui arg2, hx arg3, boolean arg4, eaa 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)
locateConcentricRingsStructure(Set<RegistryEntry<Structure>> structures, ServerWorld world, StructureAccessor structureAccessor, BlockPos center, boolean skipReferencedStructures, 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<ih<dzg>> arg0, cts arg1, cui arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, eab 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)
locateRandomSpreadStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, int centerChunkX, int centerChunkZ, int radius, boolean skipReferencedStructures, long seed, RandomSpreadStructurePlacement placement)
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<ih<dzg>> arg0, cts arg1, cui arg2, boolean arg3, ead arg4, csw 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)
locateStructure(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, 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(cui arg0, dzo arg1)
tryAddReference(StructureManager arg0, StructureStart arg1)
method_41521(class_5138 arg0, class_3449 arg1)
checkNotReferenced(StructureAccessor structureAccessor, StructureStart start)
m_223059_(C_213086_ p_223060_, C_2588_ p_223061_)
public void
a(cuk arg0, dld arg1, cui arg2)
applyBiomeDecoration(WorldGenLevel arg0, ChunkAccess arg1, StructureManager arg2)
method_12102(class_5281 arg0, class_2791 arg1, class_5138 arg2)
generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor)
m_213609_(C_1625_ p_223088_, C_2116_ p_223089_, C_213086_ arg2)
private static BoundingBox
a(dld arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
getBlockBoxForChunk(Chunk chunk)
m_187717_(C_2116_ p_187718_)
public abstract void
a(ank arg0, cui arg1, dpe arg2, dld arg3)
buildSurface(WorldGenRegion arg0, StructureManager arg1, RandomState arg2, ChunkAccess arg3)
method_12110(class_3233 arg0, class_5138 arg1, class_7138 arg2, class_2791 arg3)
buildSurface(ChunkRegion region, StructureAccessor structures, NoiseConfig noiseConfig, Chunk chunk)
m_214194_(C_19_ p_223051_, C_213086_ p_223052_, C_213138_ p_223053_, C_2116_ arg3)
public abstract void
a(ank arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
m_6929_(C_19_ arg0)
public int
a(ctr arg0)
getSpawnHeight(LevelHeightAccessor arg0)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView world)
m_142051_(C_141183_ arg0)
public BiomeSource
c()
getBiomeSource()
method_12098()
getBiomeSource()
m_62218_()
public abstract int
d()
getGenDepth()
method_12104()
getWorldHeight()
m_6331_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(ih<cuo> arg0, cui arg1, bmo arg2, hx 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)
getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, 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(iu arg0, dlf arg1, cui arg2, dld arg3, edh 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)
setStructureStarts(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager)
m_255037_(C_4706_ p_256505_, C_254614_ p_255934_, C_213086_ p_255767_, C_2116_ p_255832_, C_213305_ arg4)
private boolean
a(dzm$a arg0, cui arg1, iu arg2, dpe arg3, edh arg4, long arg5, dld arg6, csw arg7, iz 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)
trySetStructureStart(StructureSet$WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, 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(cui arg0, dld arg1, iz arg2, dzg arg3)
fetchReferences(StructureManager arg0, ChunkAccess arg1, SectionPos arg2, Structure arg3)
method_38264(class_5138 arg0, class_2791 arg1, class_4076 arg2, class_3195 arg3)
getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure)
m_223054_(C_213086_ p_223055_, C_2116_ p_223056_, C_4710_ p_223057_, C_213164_ p_223058_)
public void
a(cuk arg0, cui arg1, dld arg2)
createReferences(WorldGenLevel arg0, StructureManager arg1, ChunkAccess arg2)
method_16130(class_5281 arg0, class_5138 arg1, class_2791 arg2)
addStructureReferences(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk)
m_223076_(C_1625_ p_223078_, C_213086_ p_223079_, C_2116_ arg2)
public abstract CompletableFuture<ChunkAccess>
a(Executor arg0, dps arg1, dpe arg2, cui arg3, dld 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)
populateNoise(Executor executor, Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, 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()
getSeaLevel()
m_6337_()
public abstract int
f()
getMinY()
method_33730()
getMinimumY()
m_142062_()
public abstract int
a(int arg0, int arg1, doq$a arg2, ctr arg3, dpe 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)
getHeight(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
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, ctr arg2, dpe arg3)
getBaseColumn(int arg0, int arg1, LevelHeightAccessor arg2, RandomState arg3)
method_26261(int arg0, int arg1, class_5539 arg2, class_7138 arg3)
getColumnSample(int x, int z, HeightLimitView world, NoiseConfig noiseConfig)
m_214184_(int p_223029_, int p_223030_, C_141183_ p_223031_, C_213138_ arg3)
public int
b(int arg0, int arg1, doq$a arg2, ctr arg3, dpe 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)
getHeightOnGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
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, doq$a arg2, ctr arg3, dpe 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)
getHeightInGround(int x, int z, Heightmap$Type heightmap, HeightLimitView world, NoiseConfig noiseConfig)
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, dpe arg1, hx arg2)
addDebugScreenInfo(List<String> arg0, RandomState arg1, BlockPos arg2)
method_40450(List<String> arg0, class_7138 arg1, class_2338 arg2)
getDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos)
m_213600_(List<String> p_223176_, C_213138_ p_223177_, C_4675_ arg2)
public BiomeGenerationSettings
a(ih<cuo> arg0)
getBiomeGenerationSettings(Holder<Biome> arg0)
method_44216(class_6880<class_1959> arg0)
getGenerationSettings(RegistryEntry<Biome> biomeEntry)
m_223131_(C_203228_<C_1629_> arg0)