net.minecraft.world.level.chunk

public abstract class ChunkGenerator

implements BiomeManager$NoiseBiomeSource

cpz
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_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
i()
generateStrongholds()
method_28509()
generateStrongholdPositions()
m_62219_()
private static boolean
a(caz arg0)
validStrongholdBiome(Biome arg0)
method_38266(class_1959 arg0)
canPlaceStrongholdInBiome(Biome biome)
m_187715_(C_1629_ p_187716_)
protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>
a()
codec()
method_28506()
getCodec()
m_6909_()
public Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
b()
getTypeNameForDataFixer()
method_39301()
getCodecKey()
m_187743_()
public abstract ChunkGenerator
a(long arg0)
withSeed(long arg0)
method_27997(long arg0)
withSeed(long seed)
m_6819_(long arg0)
public CompletableFuture<ChunkAccess>
a(gx<caz> arg0, Executor arg1, cud arg2, cau arg3, cpy arg4)
createBiomes(Registry<Biome> arg0, Executor arg1, Blender arg2, StructureFeatureManager arg3, ChunkAccess arg4)
method_38275(class_2378<class_1959> arg0, Executor arg1, class_6748 arg2, class_5138 arg3, class_2791 arg4)
populateBiomes(Registry<Biome> biomeRegistry, Executor arg1, Blender blender, StructureAccessor structureAccessor, Chunk chunk)
m_196423_(C_4705_<C_1629_> p_196744_, Executor p_196745_, C_182955_ p_196746_, C_1621_ p_196747_, C_2116_ arg4)
public abstract Climate$Sampler
c()
climateSampler()
method_38276()
getMultiNoiseSampler()
m_183403_()
public Biome
getNoiseBiome(int arg0, int arg1, int arg2)
getNoiseBiome(int arg0, int arg1, int arg2)
method_16359(int arg0, int arg1, int arg2)
getBiomeForNoiseGen(int arg0, int arg1, int arg2)
m_7158_(int p_187756_, int p_187757_, int arg2)
public abstract void
a(adp arg0, long arg1, cbb arg2, cau arg3, cpy arg4, csy$a arg5)
applyCarvers(WorldGenRegion arg0, long arg1, BiomeManager arg2, StructureFeatureManager arg3, ChunkAccess arg4, GenerationStep$Carving arg5)
method_12108(class_3233 arg0, long arg1, class_4543 arg2, class_5138 arg3, class_2791 arg4, class_2893$class_2894 arg5)
carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep$Carver generationStep)
m_183516_(C_19_ p_187692_, long p_187693_, C_1642_ p_187695_, C_1621_ p_187696_, C_2116_ arg4, C_2187_$C_2188_ arg5)
public BlockPos
a(adi arg0, cyi<?> arg1, gh 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<?> structureFeature, 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)
public void
a(cav arg0, cpy arg1, cau arg2)
applyBiomeDecoration(WorldGenLevel arg0, ChunkAccess arg1, StructureFeatureManager arg2)
method_12102(class_5281 arg0, class_2791 arg1, class_5138 arg2)
generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor)
m_183372_(C_1625_ p_187713_, C_2116_ p_187714_, C_1621_ arg2)
private static BoundingBox
a(cpy arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
getBlockBoxForChunk(Chunk chunk)
m_187717_(C_2116_ p_187718_)
public abstract void
a(adp arg0, cau arg1, cpy arg2)
buildSurface(WorldGenRegion arg0, StructureFeatureManager arg1, ChunkAccess arg2)
method_12110(class_3233 arg0, class_5138 arg1, class_2791 arg2)
buildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk)
m_183621_(C_19_ p_187698_, C_1621_ p_187699_, C_2116_ arg2)
public abstract void
a(adp arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
m_6929_(C_19_ arg0)
public StructureSettings
d()
getSettings()
method_12109()
getStructuresConfig()
m_62205_()
public int
a(caf arg0)
getSpawnHeight(LevelHeightAccessor arg0)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView world)
m_142051_(C_141183_ arg0)
public BiomeSource
e()
getBiomeSource()
method_12098()
getBiomeSource()
m_62218_()
public abstract int
f()
getGenDepth()
method_12104()
getWorldHeight()
m_6331_()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(caz arg0, cau arg1, axk arg2, gh 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)
public void
a(gy arg0, cau arg1, cpy arg2, dgp 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 structureAccessor, 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)
private static int
a(cau arg0, cpy arg1, ha arg2, cyi<?> arg3)
fetchReferences(StructureFeatureManager arg0, ChunkAccess arg1, SectionPos arg2, StructureFeature<?> arg3)
method_38264(class_5138 arg0, class_2791 arg1, class_4076 arg2, class_3195<?> arg3)
getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature<?> structureFeature)
m_187700_(C_1621_ p_187701_, C_2116_ p_187702_, C_4710_ p_187703_, C_2304_<?> p_187704_)
protected boolean
a(gx<caz> arg0, Predicate<yg<caz>> arg1, caz arg2)
validBiome(Registry<Biome> arg0, Predicate<ResourceKey<Biome>> arg1, Biome arg2)
method_38274(class_2378<class_1959> arg0, Predicate<class_5321<class_1959>> arg1, class_1959 arg2)
testBiomeByKey(Registry<Biome> registry, Predicate<RegistryKey<Biome>> condition, Biome biome)
m_183172_(C_4705_<C_1629_> p_187737_, Predicate<C_5264_<C_1629_>> p_187738_, C_1629_ arg2)
public void
a(cav arg0, cau arg1, cpy arg2)
createReferences(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkAccess arg2)
method_16130(class_5281 arg0, class_5138 arg1, class_2791 arg2)
addStructureReferences(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk)
m_62177_(C_1625_ p_62179_, C_1621_ p_62180_, C_2116_ arg2)
public abstract CompletableFuture<ChunkAccess>
a(Executor arg0, cud arg1, cau arg2, cpy arg3)
fillFromNoise(Executor arg0, Blender arg1, StructureFeatureManager arg2, ChunkAccess arg3)
method_12088(Executor arg0, class_6748 arg1, class_5138 arg2, class_2791 arg3)
populateNoise(Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk)
m_183489_(Executor p_187749_, C_182955_ p_187750_, C_1621_ p_187751_, C_2116_ arg3)
public abstract int
g()
getSeaLevel()
method_16398()
getSeaLevel()
m_6337_()
public abstract int
h()
getMinY()
method_33730()
getMinimumY()
m_142062_()
public abstract int
a(int arg0, int arg1, ctc$a arg2, caf 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)
public abstract NoiseColumn
a(int arg0, int arg1, caf 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)
public int
b(int arg0, int arg1, ctc$a arg2, caf 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, ctc$a arg2, caf 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(bzk arg0)
hasStronghold(ChunkPos arg0)
method_28507(class_1923 arg0)
isStrongholdStartingChunk(ChunkPos pos)
m_62172_(C_1560_ arg0)