Package net.minecraft.world.gen.chunk
Class ChunkGenerator
java.lang.Object
net.minecraft.world.gen.chunk.ChunkGenerator
- All Implemented Interfaces:
BiomeAccess.Storage
- Direct Known Subclasses:
DebugChunkGenerator,FlatChunkGenerator,NoiseChunkGenerator
In charge of shaping, adding biome specific surface blocks, and carving chunks,
as well as populating the generated chunks with features and entities.
Biome placement starts here, however all vanilla and most modded chunk generators delegate this to a biome source.
- Mappings:
Namespace Name official cqiintermediary net/minecraft/class_2794named net/minecraft/world/gen/chunk/ChunkGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BiomeSourcestatic final com.mojang.serialization.Codec<ChunkGenerator>private final Map<ConcentricRingsStructurePlacement,ArrayList<ChunkPos>> private final longprotected final BiomeSourceUsed to control the population step without replacing the actual biome that comes from the originalbiomeSource.private final StructuresConfig -
Constructor Summary
ConstructorsConstructorDescriptionChunkGenerator(BiomeSource biomeSource, BiomeSource biomeSource2, StructuresConfig structuresConfig, long worldSeed) ChunkGenerator(BiomeSource biomeSource, StructuresConfig structuresConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStructureReferences(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk) Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.abstract voidbuildSurface(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.abstract voidcarve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.voidgenerateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private voidgenerateStrongholdPositions(StructureFeature<?> structureFeature, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ) private static BlockBoxgetBlockBoxForChunk(Chunk chunk) protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>getCodec()Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>abstract VerticalBlockSamplegetColumnSample(int x, int z, HeightLimitView world) Returns a sample of all the block states in a column for use in structure generation.getConcentricRingsStartChunks(ConcentricRingsStructurePlacement concentricRingsStructurePlacement) getEntitySpawnList(RegistryEntry<Biome> registryEntry, StructureAccessor accessor, SpawnGroup group, BlockPos pos) abstract intgetHeight(int x, int z, Heightmap.Type heightmap, HeightLimitView world) Returns the raw noise height of a column for use in structure generation.intgetHeightInGround(int x, int z, Heightmap.Type heightmap, HeightLimitView world) intgetHeightOnGround(int x, int z, Heightmap.Type heightmap, HeightLimitView world) abstract intabstract MultiNoiseUtil.MultiNoiseSamplerabstract intlonggetSeed()intgetSpawnHeight(HeightLimitView world) private static intgetStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature<?> structureFeature) abstract intlocateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.protected voidmethod_40146(StructureFeature<?> structureFeature, WorldView worldView, StructureAccessor structureAccessor, BlockPos blockPos, int int2, boolean bool, long long2, RandomSpreadStructurePlacement randomSpreadStructurePlacement) method_40148(BlockPos blockPos, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) protected RegistryEntry<Biome>method_40149(RegistryEntry<Biome> registryEntry) populateBiomes(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract voidpopulateEntities(ChunkRegion region) abstract CompletableFuture<Chunk>populateNoise(Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.voidsetStructureStarts(DynamicRegistryManager registryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed) Determines which structures should start in the given chunk and creates their starting points.abstract ChunkGeneratorwithSeed(long seed)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLcqi;a:Lcom/mojang/serialization/Codec;intermediary field_24746Lnet/minecraft/class_2794;field_24746:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/ChunkGenerator;CODEC:Lcom/mojang/serialization/Codec;
-
populationSource
Used to control the population step without replacing the actual biome that comes from the originalbiomeSource.This is used by
FlatChunkGeneratorto overwrite biome properties like whether lakes generate, while preserving the original biome ID.- Mappings:
Namespace Name Mixin selector official bLcqi;b:Lcbm;intermediary field_12761Lnet/minecraft/class_2794;field_12761:Lnet/minecraft/class_1966;named populationSourceLnet/minecraft/world/gen/chunk/ChunkGenerator;populationSource:Lnet/minecraft/world/biome/source/BiomeSource;
-
biomeSource
- Mappings:
Namespace Name Mixin selector official cLcqi;c:Lcbm;intermediary field_24747Lnet/minecraft/class_2794;field_24747:Lnet/minecraft/class_1966;named biomeSourceLnet/minecraft/world/gen/chunk/ChunkGenerator;biomeSource:Lnet/minecraft/world/biome/source/BiomeSource;
-
structuresConfig
- Mappings:
Namespace Name Mixin selector official dLcqi;d:Lcuc;intermediary field_16567Lnet/minecraft/class_2794;field_16567:Lnet/minecraft/class_5311;named structuresConfigLnet/minecraft/world/gen/chunk/ChunkGenerator;structuresConfig:Lnet/minecraft/world/gen/chunk/placement/StructuresConfig;
-
field_36405
- Mappings:
Namespace Name Mixin selector official eLcqi;e:Ljava/util/Map;intermediary field_36405Lnet/minecraft/class_2794;field_36405:Ljava/util/Map;named field_36405Lnet/minecraft/world/gen/chunk/ChunkGenerator;field_36405:Ljava/util/Map;
-
field_36406
private final long field_36406- Mappings:
Namespace Name Mixin selector official fLcqi;f:Jintermediary field_36406Lnet/minecraft/class_2794;field_36406:Jnamed field_36406Lnet/minecraft/world/gen/chunk/ChunkGenerator;field_36406:J
-
-
Constructor Details
-
ChunkGenerator
- Mappings:
Namespace Name Mixin selector official <init>Lcqi;<init>(Lcbm;Lcuc;)Vintermediary <init>Lnet/minecraft/class_2794;<init>(Lnet/minecraft/class_1966;Lnet/minecraft/class_5311;)Vnamed <init>Lnet/minecraft/world/gen/chunk/ChunkGenerator;<init>(Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/world/gen/chunk/placement/StructuresConfig;)V
-
ChunkGenerator
public ChunkGenerator(BiomeSource biomeSource, BiomeSource biomeSource2, StructuresConfig structuresConfig, long worldSeed) - Mappings:
Namespace Name Mixin selector official <init>Lcqi;<init>(Lcbm;Lcbm;Lcuc;J)Vintermediary <init>Lnet/minecraft/class_2794;<init>(Lnet/minecraft/class_1966;Lnet/minecraft/class_1966;Lnet/minecraft/class_5311;J)Vnamed <init>Lnet/minecraft/world/gen/chunk/ChunkGenerator;<init>(Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/world/gen/chunk/placement/StructuresConfig;J)V
-
-
Method Details
-
method_40145
protected void method_40145()- Mappings:
Namespace Name Mixin selector official aLcqi;a()Vintermediary method_40145Lnet/minecraft/class_2794;method_40145()Vnamed method_40145Lnet/minecraft/world/gen/chunk/ChunkGenerator;method_40145()V
-
generateStrongholdPositions
private void generateStrongholdPositions(StructureFeature<?> structureFeature, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcyr;Ldfz;)Vintermediary method_28509Lnet/minecraft/class_2794;method_28509(Lnet/minecraft/class_3195;Lnet/minecraft/class_6871;)Vnamed generateStrongholdPositionsLnet/minecraft/world/gen/chunk/ChunkGenerator;generateStrongholdPositions(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;)V
-
getCodec
- Mappings:
Namespace Name Mixin selector official bLcqi;b()Lcom/mojang/serialization/Codec;intermediary method_28506Lnet/minecraft/class_2794;method_28506()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/gen/chunk/ChunkGenerator;getCodec()Lcom/mojang/serialization/Codec;
-
getCodecKey
public Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> getCodecKey()- Mappings:
Namespace Name Mixin selector official cLcqi;c()Ljava/util/Optional;intermediary method_39301Lnet/minecraft/class_2794;method_39301()Ljava/util/Optional;named getCodecKeyLnet/minecraft/world/gen/chunk/ChunkGenerator;getCodecKey()Ljava/util/Optional;
-
withSeed
- Mappings:
Namespace Name Mixin selector official aLcqi;a(J)Lcqi;intermediary method_27997Lnet/minecraft/class_2794;method_27997(J)Lnet/minecraft/class_2794;named withSeedLnet/minecraft/world/gen/chunk/ChunkGenerator;withSeed(J)Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
populateBiomes
public CompletableFuture<Chunk> populateBiomes(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lgz;Ljava/util/concurrent/Executor;Lcum;Lcbd;Lcqh;)Ljava/util/concurrent/CompletableFuture;intermediary method_38275Lnet/minecraft/class_2794;method_38275(Lnet/minecraft/class_2378;Ljava/util/concurrent/Executor;Lnet/minecraft/class_6748;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;named populateBiomesLnet/minecraft/world/gen/chunk/ChunkGenerator;populateBiomes(Lnet/minecraft/util/registry/Registry;Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/chunk/Blender;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-
getMultiNoiseSampler
- Mappings:
Namespace Name Mixin selector official dLcqi;d()Lcbq$f;intermediary method_38276Lnet/minecraft/class_2794;method_38276()Lnet/minecraft/class_6544$class_6552;named getMultiNoiseSamplerLnet/minecraft/world/gen/chunk/ChunkGenerator;getMultiNoiseSampler()Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage- Mappings:
Namespace Name Mixin selector official getNoiseBiomeLcbk$a;getNoiseBiome(III)Lgq;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/util/registry/RegistryEntry;
-
carve
public abstract void carve(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lady;JLcbk;Lcbd;Lcqh;Lcth$a;)Vintermediary method_12108Lnet/minecraft/class_2794;method_12108(Lnet/minecraft/class_3233;JLnet/minecraft/class_4543;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_2893$class_2894;)Vnamed carveLnet/minecraft/world/gen/chunk/ChunkGenerator;carve(Lnet/minecraft/world/ChunkRegion;JLnet/minecraft/world/biome/source/BiomeAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/GenerationStep$Carver;)V
-
locateStructure
@Nullable public @Nullable BlockPos locateStructure(ServerWorld world, StructureFeature<?> feature, BlockPos center, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.New chunks will only be generated up to the
ChunkStatus.STRUCTURE_STARTSphase by this method.The radius is ignored for strongholds.
- Parameters:
radius- the search radius in chunks around the chunk the given block position is in; a radius of 0 will only search in the given chunkskipExistingChunks- whether only structures that are not referenced by generated chunks (chunks past the STRUCTURE_STARTS stage) are returned, excluding strongholds- Returns:
nullif no structure could be found within the given search radius- Mappings:
Namespace Name Mixin selector official aLcqi;a(Ladr;Lcyr;Lgh;IZ)Lgh;intermediary method_12103Lnet/minecraft/class_2794;method_12103(Lnet/minecraft/class_3218;Lnet/minecraft/class_3195;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;named locateStructureLnet/minecraft/world/gen/chunk/ChunkGenerator;locateStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/util/math/BlockPos;IZ)Lnet/minecraft/util/math/BlockPos;
-
method_40148
@Nullable private @Nullable BlockPos method_40148(BlockPos blockPos, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lgh;Ldfz;)Lgh;intermediary method_40148Lnet/minecraft/class_2794;method_40148(Lnet/minecraft/class_2338;Lnet/minecraft/class_6871;)Lnet/minecraft/class_2338;named method_40148Lnet/minecraft/world/gen/chunk/ChunkGenerator;method_40148(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;)Lnet/minecraft/util/math/BlockPos;
-
method_40146
@Nullable private static @Nullable BlockPos method_40146(StructureFeature<?> structureFeature, WorldView worldView, StructureAccessor structureAccessor, BlockPos blockPos, int int2, boolean bool, long long2, RandomSpreadStructurePlacement randomSpreadStructurePlacement) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcyr;Lcap;Lcbd;Lgh;IZJLdga;)Lgh;intermediary method_40146Lnet/minecraft/class_2794;method_40146(Lnet/minecraft/class_3195;Lnet/minecraft/class_4538;Lnet/minecraft/class_5138;Lnet/minecraft/class_2338;IZJLnet/minecraft/class_6872;)Lnet/minecraft/class_2338;named method_40146Lnet/minecraft/world/gen/chunk/ChunkGenerator;method_40146(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/world/WorldView;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/util/math/BlockPos;IZJLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;)Lnet/minecraft/util/math/BlockPos;
-
generateFeatures
public void generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcbe;Lcqh;Lcbd;)Vintermediary method_12102Lnet/minecraft/class_2794;method_12102(Lnet/minecraft/class_5281;Lnet/minecraft/class_2791;Lnet/minecraft/class_5138;)Vnamed generateFeaturesLnet/minecraft/world/gen/chunk/ChunkGenerator;generateFeatures(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/gen/StructureAccessor;)V
-
getBlockBoxForChunk
- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcqh;)Ldeo;intermediary method_39462Lnet/minecraft/class_2794;method_39462(Lnet/minecraft/class_2791;)Lnet/minecraft/class_3341;named getBlockBoxForChunkLnet/minecraft/world/gen/chunk/ChunkGenerator;getBlockBoxForChunk(Lnet/minecraft/world/chunk/Chunk;)Lnet/minecraft/util/math/BlockBox;
-
buildSurface
Places the surface blocks of the biomes after the noise has been generated.- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lady;Lcbd;Lcqh;)Vintermediary method_12110Lnet/minecraft/class_2794;method_12110(Lnet/minecraft/class_3233;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Vnamed buildSurfaceLnet/minecraft/world/gen/chunk/ChunkGenerator;buildSurface(Lnet/minecraft/world/ChunkRegion;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)V
-
populateEntities
- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lady;)Vintermediary method_12107Lnet/minecraft/class_2794;method_12107(Lnet/minecraft/class_3233;)Vnamed populateEntitiesLnet/minecraft/world/gen/chunk/ChunkGenerator;populateEntities(Lnet/minecraft/world/ChunkRegion;)V
-
getStructuresConfig
- Mappings:
Namespace Name Mixin selector official eLcqi;e()Lcuc;intermediary method_12109Lnet/minecraft/class_2794;method_12109()Lnet/minecraft/class_5311;named getStructuresConfigLnet/minecraft/world/gen/chunk/ChunkGenerator;getStructuresConfig()Lnet/minecraft/world/gen/chunk/placement/StructuresConfig;
-
getSpawnHeight
- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcao;)Iintermediary method_12100Lnet/minecraft/class_2794;method_12100(Lnet/minecraft/class_5539;)Inamed getSpawnHeightLnet/minecraft/world/gen/chunk/ChunkGenerator;getSpawnHeight(Lnet/minecraft/world/HeightLimitView;)I
-
getBiomeSource
- Mappings:
Namespace Name Mixin selector official fLcqi;f()Lcbm;intermediary method_12098Lnet/minecraft/class_2794;method_12098()Lnet/minecraft/class_1966;named getBiomeSourceLnet/minecraft/world/gen/chunk/ChunkGenerator;getBiomeSource()Lnet/minecraft/world/biome/source/BiomeSource;
-
getWorldHeight
public abstract int getWorldHeight()- Mappings:
Namespace Name Mixin selector official gLcqi;g()Iintermediary method_12104Lnet/minecraft/class_2794;method_12104()Inamed getWorldHeightLnet/minecraft/world/gen/chunk/ChunkGenerator;getWorldHeight()I
-
getEntitySpawnList
public Pool<SpawnSettings.SpawnEntry> getEntitySpawnList(RegistryEntry<Biome> registryEntry, StructureAccessor accessor, SpawnGroup group, BlockPos pos) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lgq;Lcbd;Laxs;Lgh;)Laun;intermediary method_12113Lnet/minecraft/class_2794;method_12113(Lnet/minecraft/class_6880;Lnet/minecraft/class_5138;Lnet/minecraft/class_1311;Lnet/minecraft/class_2338;)Lnet/minecraft/class_6012;named getEntitySpawnListLnet/minecraft/world/gen/chunk/ChunkGenerator;getEntitySpawnList(Lnet/minecraft/util/registry/RegistryEntry;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/entity/SpawnGroup;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/collection/Pool;
-
setStructureStarts
public void setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long worldSeed) Determines which structures should start in the given chunk and creates their starting points.- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lha;Lcbd;Lcqh;Ldhc;J)Vintermediary method_16129Lnet/minecraft/class_2794;method_16129(Lnet/minecraft/class_5455;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_3485;J)Vnamed setStructureStartsLnet/minecraft/world/gen/chunk/ChunkGenerator;setStructureStarts(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/structure/StructureManager;J)V
-
getStructureReferences
private static int getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature<?> structureFeature) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcbd;Lcqh;Lhd;Lcyr;)Iintermediary method_38264Lnet/minecraft/class_2794;method_38264(Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Inamed getStructureReferencesLnet/minecraft/world/gen/chunk/ChunkGenerator;getStructureReferences(Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)I
-
method_40149
- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lgq;)Lgq;intermediary method_40149Lnet/minecraft/class_2794;method_40149(Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;named method_40149Lnet/minecraft/world/gen/chunk/ChunkGenerator;method_40149(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/util/registry/RegistryEntry;
-
addStructureReferences
public void addStructureReferences(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk) Finds all structures that the given chunk intersects, and adds references to their starting chunks to it. A radius of 8 chunks around the given chunk will be searched for structure starts.- Mappings:
Namespace Name Mixin selector official aLcqi;a(Lcbe;Lcbd;Lcqh;)Vintermediary method_16130Lnet/minecraft/class_2794;method_16130(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Vnamed addStructureReferencesLnet/minecraft/world/gen/chunk/ChunkGenerator;addStructureReferences(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)V
-
populateNoise
public abstract CompletableFuture<Chunk> populateNoise(Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.- Mappings:
Namespace Name Mixin selector official aLcqi;a(Ljava/util/concurrent/Executor;Lcum;Lcbd;Lcqh;)Ljava/util/concurrent/CompletableFuture;intermediary method_12088Lnet/minecraft/class_2794;method_12088(Ljava/util/concurrent/Executor;Lnet/minecraft/class_6748;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;named populateNoiseLnet/minecraft/world/gen/chunk/ChunkGenerator;populateNoise(Ljava/util/concurrent/Executor;Lnet/minecraft/world/gen/chunk/Blender;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;
-
getSeaLevel
public abstract int getSeaLevel()- Mappings:
Namespace Name Mixin selector official hLcqi;h()Iintermediary method_16398Lnet/minecraft/class_2794;method_16398()Inamed getSeaLevelLnet/minecraft/world/gen/chunk/ChunkGenerator;getSeaLevel()I
-
getMinimumY
public abstract int getMinimumY()- Mappings:
Namespace Name Mixin selector official iLcqi;i()Iintermediary method_33730Lnet/minecraft/class_2794;method_33730()Inamed getMinimumYLnet/minecraft/world/gen/chunk/ChunkGenerator;getMinimumY()I
-
getHeight
Returns the raw noise height of a column for use in structure generation.- Mappings:
Namespace Name Mixin selector official aLcqi;a(IILctl$a;Lcao;)Iintermediary method_16397Lnet/minecraft/class_2794;method_16397(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)Inamed getHeightLnet/minecraft/world/gen/chunk/ChunkGenerator;getHeight(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
-
getColumnSample
Returns a sample of all the block states in a column for use in structure generation.- Mappings:
Namespace Name Mixin selector official aLcqi;a(IILcao;)Lcay;intermediary method_26261Lnet/minecraft/class_2794;method_26261(IILnet/minecraft/class_5539;)Lnet/minecraft/class_4966;named getColumnSampleLnet/minecraft/world/gen/chunk/ChunkGenerator;getColumnSample(IILnet/minecraft/world/HeightLimitView;)Lnet/minecraft/world/gen/chunk/VerticalBlockSample;
-
getHeightOnGround
- Mappings:
Namespace Name Mixin selector official bLcqi;b(IILctl$a;Lcao;)Iintermediary method_20402Lnet/minecraft/class_2794;method_20402(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)Inamed getHeightOnGroundLnet/minecraft/world/gen/chunk/ChunkGenerator;getHeightOnGround(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
-
getHeightInGround
- Mappings:
Namespace Name Mixin selector official cLcqi;c(IILctl$a;Lcao;)Iintermediary method_18028Lnet/minecraft/class_2794;method_18028(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)Inamed getHeightInGroundLnet/minecraft/world/gen/chunk/ChunkGenerator;getHeightInGround(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
-
getConcentricRingsStartChunks
public List<ChunkPos> getConcentricRingsStartChunks(ConcentricRingsStructurePlacement concentricRingsStructurePlacement) - Mappings:
Namespace Name Mixin selector official aLcqi;a(Ldfz;)Ljava/util/List;intermediary method_40147Lnet/minecraft/class_2794;method_40147(Lnet/minecraft/class_6871;)Ljava/util/List;named getConcentricRingsStartChunksLnet/minecraft/world/gen/chunk/ChunkGenerator;getConcentricRingsStartChunks(Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;)Ljava/util/List;
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector official jLcqi;j()Jintermediary method_40154Lnet/minecraft/class_2794;method_40154()Jnamed getSeedLnet/minecraft/world/gen/chunk/ChunkGenerator;getSeed()J
-