net.minecraft.world.level.chunk

public abstract class ChunkGenerator

ebm
net.minecraft.world.level.chunk.ChunkGenerator
net.minecraft.class_2794
net.minecraft.world.gen.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(jg<eqo> arg0, egb 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(egb arg0, egp arg1, djl arg2, ebl 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(arw arg0, long arg1, egb arg2, dju arg3, djl arg4, ebl 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(aro arg0, ji<eqi> arg1, iu 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<je<eqi>> arg0, aro arg1, djl arg2, iu arg3, boolean arg4, erc 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<je<eqi>> arg0, dis arg1, djl arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, erd 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<je<eqi>> arg0, dis arg1, djl arg2, boolean arg3, erf arg4, dhw 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(djl arg0, eqq arg1)
tryAddReference(StructureManager arg0, StructureStart arg1)
method_41521(class_5138 arg0, class_3449 arg1)
checkNotReferenced(StructureAccessor structureAccessor, StructureStart start)
public void
a(djo arg0, ebl arg1, djl 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(ebl arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
getBlockBoxForChunk(Chunk chunk)
public abstract void
a(arw arg0, djl arg1, egb arg2, ebl 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(arw arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
public int
a(dir 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 WeightedList<MobSpawnSettings$SpawnerData>
a(je<djs> arg0, djl arg1, bxc arg2, iu 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(js arg0, ebn arg1, djl arg2, ebl arg3, eul arg4, ald<dip> 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(eqo$a arg0, djl arg1, js arg2, egb arg3, eul arg4, long arg5, ebl arg6, dhw arg7, jx arg8, ald<dip> 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(djl arg0, ebl arg1, jx arg2, eqi 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(djo arg0, djl arg1, ebl 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(egp arg0, egb arg1, djl arg2, ebl 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, efn$a arg2, dir arg3, egb 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, dir arg2, egb 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, efn$a arg2, dir arg3, egb 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, efn$a arg2, dir arg3, egb 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, egb arg1, iu 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(je<djs> arg0)
getBiomeGenerationSettings(Holder<Biome> arg0)
method_44216(class_6880<class_1959> arg0)
getGenerationSettings(RegistryEntry<Biome> biomeEntry)