net.minecraft.world.level.chunk

public abstract class ChunkGenerator

dzr
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(js<eoq> arg0, eee 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(eee arg0, ees arg1, die arg2, dzq 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(asp arg0, long arg1, eee arg2, dim arg3, die arg4, dzq 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(ash arg0, ju<eok> 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)
locateStructure(ServerWorld world, RegistryEntryList<Structure> structures, BlockPos center, int radius, boolean skipReferencedStructures)
private com.mojang.datafixers.util.Pair<BlockPos, Holder<Structure>>
a(Set<jq<eok>> arg0, ash arg1, die arg2, jh arg3, boolean arg4, epe 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<jq<eok>> arg0, dhl arg1, die arg2, int arg3, int arg4, int arg5, boolean arg6, long arg7, epf 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<jq<eok>> arg0, dhl arg1, die arg2, boolean arg3, eph arg4, dgo 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(die arg0, eos arg1)
tryAddReference(StructureManager arg0, StructureStart arg1)
method_41521(class_5138 arg0, class_3449 arg1)
checkNotReferenced(StructureAccessor structureAccessor, StructureStart start)
public void
a(dig arg0, dzq arg1, die 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(dzq arg0)
getWritableArea(ChunkAccess arg0)
method_39462(class_2791 arg0)
getBlockBoxForChunk(Chunk chunk)
public abstract void
a(asp arg0, die arg1, eee arg2, dzq 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(asp arg0)
spawnOriginalMobs(WorldGenRegion arg0)
method_12107(class_3233 arg0)
populateEntities(ChunkRegion region)
public int
a(dhk 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(jq<dik> arg0, die arg1, bwj 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)
getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
public void
a(ke arg0, dzs arg1, die arg2, dzq arg3, esn 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)
private boolean
a(eoq$a arg0, die arg1, ke arg2, eee arg3, esn arg4, long arg5, dzq arg6, dgo 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)
trySetStructureStart(StructureSet$WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos)
private static int
a(die arg0, dzq arg1, kj arg2, eok 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(dig arg0, die arg1, dzq 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(ees arg0, eee arg1, die arg2, dzq 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, edq$a arg2, dhk arg3, eee 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, dhk arg2, eee 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, edq$a arg2, dhk arg3, eee 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, edq$a arg2, dhk arg3, eee 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, eee arg1, jh 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(jq<dik> arg0)
getBiomeGenerationSettings(Holder<Biome> arg0)
method_44216(class_6880<class_1959> arg0)
getGenerationSettings(RegistryEntry<Biome> biomeEntry)