net.minecraft.world.level.chunk

public abstract class ChunkGenerator

dyu
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.class_2794
net.minecraft.world.gen.chunk.ChunkGenerator
net.minecraft.world.level.chunk.ChunkGenerator

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ChunkGenerator>
a
CODEC
field_24746
CODEC
protected final BiomeSource
b
biomeSource
field_12761
biomeSource
private final Supplier<List<FeatureSorter$StepFeatureData>>
c
featuresPerStep
field_39412
indexedFeaturesListSupplier
private final Function<Holder<Biome>, BiomeGenerationSettings>
d
generationSettingsGetter
field_39413
generationSettingsGetter

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()
initializeIndexedFeaturesList()
protected abstract com.mojang.serialization.MapCodec<? extends ChunkGenerator>
b()
codec()
method_28506()
getCodec()
public ChunkGeneratorStructureState
a(jt<ent> arg0, edh 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)
public Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>>
c()
getTypeNameForDataFixer()
method_39301()
getCodecKey()
public CompletableFuture<ChunkAccess>
a(edh arg0, edv arg1, dhf arg2, dyt arg3)
createBiomes(RandomState arg0, Blender arg1, StructureManager arg2, ChunkAccess arg3)
method_38275(class_7138 arg0, class_6748 arg1, class_5138 arg2, class_2791 arg3)
populateBiomes(NoiseConfig noiseConfig, Blender blender, StructureAccessor structureAccessor, Chunk chunk)
public abstract void
a(arl arg0, long arg1, edh arg2, dhn arg3, dhf arg4, dyt 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)
carve(ChunkRegion chunkRegion, long seed, NoiseConfig noiseConfig, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk)
public com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(ard arg0, jv<enn> arg1, ji 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)
private com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<jr<enn>> arg0, ard arg1, dhf arg2, ji arg3, boolean arg4, eoh 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)
private static com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<jr<enn>> arg0, dgm arg1, dhf arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, eoi 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)
private static com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<jr<enn>> arg0, dgm arg1, dhf arg2, boolean arg3, eok arg4, dfp 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)
private static boolean
a(dhf arg0, env arg1)
tryAddReference(StructureManager arg0, StructureStart arg1)
method_41521(class_5138 arg0, class_3449 arg1)
checkNotReferenced(StructureAccessor structureAccessor, StructureStart start)
public void
a(dhh arg0, dyt arg1, dhf 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)
private static BoundingBox
a(dyt arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
getBlockBoxForChunk(Chunk chunk)
public abstract void
a(arl arg0, dhf arg1, edh arg2, dyt 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)
public abstract void
a(arl arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
public int
a(dgl arg0)
getSpawnHeight(LevelHeightAccessor arg0)
method_12100(class_5539 arg0)
getSpawnHeight(HeightLimitView world)
public BiomeSource
d()
getBiomeSource()
method_12098()
getBiomeSource()
public abstract int
e()
getGenDepth()
method_12104()
getWorldHeight()
public WeightedRandomList<MobSpawnSettings$SpawnerData>
a(jr<dhl> arg0, dhf arg1, bvl arg2, ji 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)
public void
a(kf arg0, dyv arg1, dhf arg2, dyt arg3, erq arg4, aku<dgj> arg5)
createStructures(RegistryAccess arg0, ChunkGeneratorStructureState arg1, StructureManager arg2, ChunkAccess arg3, StructureTemplateManager arg4, ResourceKey<Level> arg5)
method_16129(class_5455 arg0, class_7869 arg1, class_5138 arg2, class_2791 arg3, class_3485 arg4, class_5321<class_1937> arg5)
setStructureStarts(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager, RegistryKey<World> dimension)
private boolean
a(ent$a arg0, dhf arg1, kf arg2, edh arg3, erq arg4, long arg5, dyt arg6, dfp arg7, kk arg8, aku<dgj> arg9)
tryGenerateStructure(StructureSet$StructureSelectionEntry arg0, StructureManager arg1, RegistryAccess arg2, RandomState arg3, StructureTemplateManager arg4, long arg5, ChunkAccess arg6, ChunkPos arg7, SectionPos arg8, ResourceKey<Level> arg9)
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, class_5321<class_1937> arg9)
trySetStructureStart(StructureSet$WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos, RegistryKey<World> dimension)
private static int
a(dhf arg0, dyt arg1, kk arg2, enn 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)
public void
a(dhh arg0, dhf arg1, dyt 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)
public abstract CompletableFuture<ChunkAccess>
a(edv arg0, edh arg1, dhf arg2, dyt arg3)
fillFromNoise(Blender arg0, RandomState arg1, StructureManager arg2, ChunkAccess arg3)
method_12088(class_6748 arg0, class_7138 arg1, class_5138 arg2, class_2791 arg3)
populateNoise(Blender blender, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk)
public abstract int
f()
getSeaLevel()
method_16398()
getSeaLevel()
public abstract int
g()
getMinY()
method_33730()
getMinimumY()
public abstract int
a(int arg0, int arg1, ect$a arg2, dgl arg3, edh 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)
public abstract NoiseColumn
a(int arg0, int arg1, dgl arg2, edh 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)
public int
b(int arg0, int arg1, ect$a arg2, dgl arg3, edh 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)
public int
c(int arg0, int arg1, ect$a arg2, dgl arg3, edh 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)
public abstract void
a(List<String> arg0, edh arg1, ji arg2)
addDebugScreenInfo(List<String> arg0, RandomState arg1, BlockPos arg2)
method_40450(List<String> arg0, class_7138 arg1, class_2338 arg2)
appendDebugHudText(List<String> text, NoiseConfig noiseConfig, BlockPos pos)
public BiomeGenerationSettings
a(jr<dhl> arg0)
getBiomeGenerationSettings(Holder<Biome> arg0)
method_44216(class_6880<class_1959> arg0)
getGenerationSettings(RegistryEntry<Biome> biomeEntry)