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 cpz
intermediary net/minecraft/class_2794
named net/minecraft/world/gen/chunk/ChunkGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BiomeSource
static final com.mojang.serialization.Codec<ChunkGenerator>
protected final BiomeSource
Used to control the population step without replacing the actual biome that comes from the originalbiomeSource
.private final StructuresConfig
private final long
-
Constructor Summary
ConstructorDescriptionChunkGenerator
(BiomeSource populationSource, BiomeSource biomeSource, StructuresConfig structuresConfig, long worldSeed) ChunkGenerator
(BiomeSource biomeSource, StructuresConfig structuresConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStructureReferences
(StructureWorldAccess world, StructureAccessor structureAccessor, Chunk chunk) Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.abstract void
buildSurface
(ChunkRegion region, StructureAccessor structures, Chunk chunk) Places the surface blocks of the biomes after the noise has been generated.private static boolean
canPlaceStrongholdInBiome
(Biome biome) abstract void
carve
(ChunkRegion chunkRegion, long seed, BiomeAccess biomeAccess, StructureAccessor structureAccessor, Chunk chunk, GenerationStep.Carver generationStep) Generates caves for the given chunk.void
generateFeatures
(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) private void
getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) private static BlockBox
getBlockBoxForChunk
(Chunk chunk) protected abstract com.mojang.serialization.Codec<? extends ChunkGenerator>
getCodec()
Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
abstract VerticalBlockSample
getColumnSample
(int x, int z, HeightLimitView world) Returns a sample of all the block states in a column for use in structure generation.getEntitySpawnList
(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) abstract int
getHeight
(int x, int z, Heightmap.Type heightmap, HeightLimitView world) Returns the raw noise height of a column for use in structure generation.int
getHeightInGround
(int x, int z, Heightmap.Type heightmap, HeightLimitView world) int
getHeightOnGround
(int x, int z, Heightmap.Type heightmap, HeightLimitView world) abstract int
abstract MultiNoiseUtil.MultiNoiseSampler
abstract int
int
getSpawnHeight
(HeightLimitView world) private static int
getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureFeature<?> structureFeature) abstract int
boolean
locateStructure
(ServerWorld world, StructureFeature<?> structureFeature, BlockPos center, int radius, boolean skipExistingChunks) Tries to find the closest structure of a given type near a given block.populateBiomes
(Registry<Biome> biomeRegistry, Executor executor, Blender blender, StructureAccessor structureAccessor, Chunk chunk) abstract void
populateEntities
(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.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.protected boolean
testBiomeByKey
(Registry<Biome> registry, Predicate<RegistryKey<Biome>> condition, Biome biome) abstract ChunkGenerator
withSeed
(long seed)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a:Lcom/mojang/serialization/Codec;
intermediary field_24746
Lnet/minecraft/class_2794;field_24746:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/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
FlatChunkGenerator
to overwrite biome properties like whether lakes generate, while preserving the original biome ID.- Mappings:
Namespace Name Mixin selector official b
Lcpz;b:Lcbd;
intermediary field_12761
Lnet/minecraft/class_2794;field_12761:Lnet/minecraft/class_1966;
named populationSource
Lnet/minecraft/world/gen/chunk/ChunkGenerator;populationSource:Lnet/minecraft/world/biome/source/BiomeSource;
-
biomeSource
- Mappings:
Namespace Name Mixin selector official c
Lcpz;c:Lcbd;
intermediary field_24747
Lnet/minecraft/class_2794;field_24747:Lnet/minecraft/class_1966;
named biomeSource
Lnet/minecraft/world/gen/chunk/ChunkGenerator;biomeSource:Lnet/minecraft/world/biome/source/BiomeSource;
-
structuresConfig
- Mappings:
Namespace Name Mixin selector official d
Lcpz;d:Lctt;
intermediary field_16567
Lnet/minecraft/class_2794;field_16567:Lnet/minecraft/class_5311;
named structuresConfig
Lnet/minecraft/world/gen/chunk/ChunkGenerator;structuresConfig:Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
worldSeed
private final long worldSeed- Mappings:
Namespace Name Mixin selector official e
Lcpz;e:J
intermediary field_24748
Lnet/minecraft/class_2794;field_24748:J
named worldSeed
Lnet/minecraft/world/gen/chunk/ChunkGenerator;worldSeed:J
-
strongholds
- Mappings:
Namespace Name Mixin selector official f
Lcpz;f:Ljava/util/List;
intermediary field_24749
Lnet/minecraft/class_2794;field_24749:Ljava/util/List;
named strongholds
Lnet/minecraft/world/gen/chunk/ChunkGenerator;strongholds:Ljava/util/List;
-
-
Constructor Details
-
ChunkGenerator
- Mappings:
Namespace Name Mixin selector official <init>
Lcpz;<init>(Lcbd;Lctt;)V
intermediary <init>
Lnet/minecraft/class_2794;<init>(Lnet/minecraft/class_1966;Lnet/minecraft/class_5311;)V
named <init>
Lnet/minecraft/world/gen/chunk/ChunkGenerator;<init>(Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/world/gen/chunk/StructuresConfig;)V
-
ChunkGenerator
public ChunkGenerator(BiomeSource populationSource, BiomeSource biomeSource, StructuresConfig structuresConfig, long worldSeed) - Mappings:
Namespace Name Mixin selector official <init>
Lcpz;<init>(Lcbd;Lcbd;Lctt;J)V
intermediary <init>
Lnet/minecraft/class_2794;<init>(Lnet/minecraft/class_1966;Lnet/minecraft/class_1966;Lnet/minecraft/class_5311;J)V
named <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/StructuresConfig;J)V
-
-
Method Details
-
generateStrongholdPositions
private void generateStrongholdPositions()- Mappings:
Namespace Name Mixin selector official i
Lcpz;i()V
intermediary method_28509
Lnet/minecraft/class_2794;method_28509()V
named generateStrongholdPositions
Lnet/minecraft/world/gen/chunk/ChunkGenerator;generateStrongholdPositions()V
-
canPlaceStrongholdInBiome
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lcaz;)Z
intermediary method_38266
Lnet/minecraft/class_2794;method_38266(Lnet/minecraft/class_1959;)Z
named canPlaceStrongholdInBiome
Lnet/minecraft/world/gen/chunk/ChunkGenerator;canPlaceStrongholdInBiome(Lnet/minecraft/world/biome/Biome;)Z
-
getCodec
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a()Lcom/mojang/serialization/Codec;
intermediary method_28506
Lnet/minecraft/class_2794;method_28506()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/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 b
Lcpz;b()Ljava/util/Optional;
intermediary method_39301
Lnet/minecraft/class_2794;method_39301()Ljava/util/Optional;
named getCodecKey
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getCodecKey()Ljava/util/Optional;
-
withSeed
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a(J)Lcpz;
intermediary method_27997
Lnet/minecraft/class_2794;method_27997(J)Lnet/minecraft/class_2794;
named withSeed
Lnet/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 a
Lcpz;a(Lgx;Ljava/util/concurrent/Executor;Lcud;Lcau;Lcpy;)Ljava/util/concurrent/CompletableFuture;
intermediary method_38275
Lnet/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 populateBiomes
Lnet/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 c
Lcpz;c()Lcbh$f;
intermediary method_38276
Lnet/minecraft/class_2794;method_38276()Lnet/minecraft/class_6544$class_6552;
named getMultiNoiseSampler
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getMultiNoiseSampler()Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGen
in interfaceBiomeAccess.Storage
- Mappings:
Namespace Name Mixin selector official getNoiseBiome
Lcbb$a;getNoiseBiome(III)Lcaz;
intermediary method_16359
Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
named getBiomeForNoiseGen
Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
-
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 a
Lcpz;a(Ladp;JLcbb;Lcau;Lcpy;Lcsy$a;)V
intermediary method_12108
Lnet/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;)V
named carve
Lnet/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<?> structureFeature, 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_STARTS
phase 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:
null
if no structure could be found within the given search radius- Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Ladi;Lcyi;Lgh;IZ)Lgh;
intermediary method_12103
Lnet/minecraft/class_2794;method_12103(Lnet/minecraft/class_3218;Lnet/minecraft/class_3195;Lnet/minecraft/class_2338;IZ)Lnet/minecraft/class_2338;
named locateStructure
Lnet/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;
-
generateFeatures
public void generateFeatures(StructureWorldAccess world, Chunk chunk, StructureAccessor structureAccessor) - Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lcav;Lcpy;Lcau;)V
intermediary method_12102
Lnet/minecraft/class_2794;method_12102(Lnet/minecraft/class_5281;Lnet/minecraft/class_2791;Lnet/minecraft/class_5138;)V
named generateFeatures
Lnet/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 a
Lcpz;a(Lcpy;)Ldeh;
intermediary method_39462
Lnet/minecraft/class_2794;method_39462(Lnet/minecraft/class_2791;)Lnet/minecraft/class_3341;
named getBlockBoxForChunk
Lnet/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 a
Lcpz;a(Ladp;Lcau;Lcpy;)V
intermediary method_12110
Lnet/minecraft/class_2794;method_12110(Lnet/minecraft/class_3233;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V
named buildSurface
Lnet/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 a
Lcpz;a(Ladp;)V
intermediary method_12107
Lnet/minecraft/class_2794;method_12107(Lnet/minecraft/class_3233;)V
named populateEntities
Lnet/minecraft/world/gen/chunk/ChunkGenerator;populateEntities(Lnet/minecraft/world/ChunkRegion;)V
-
getStructuresConfig
- Mappings:
Namespace Name Mixin selector official d
Lcpz;d()Lctt;
intermediary method_12109
Lnet/minecraft/class_2794;method_12109()Lnet/minecraft/class_5311;
named getStructuresConfig
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getStructuresConfig()Lnet/minecraft/world/gen/chunk/StructuresConfig;
-
getSpawnHeight
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lcaf;)I
intermediary method_12100
Lnet/minecraft/class_2794;method_12100(Lnet/minecraft/class_5539;)I
named getSpawnHeight
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getSpawnHeight(Lnet/minecraft/world/HeightLimitView;)I
-
getBiomeSource
- Mappings:
Namespace Name Mixin selector official e
Lcpz;e()Lcbd;
intermediary method_12098
Lnet/minecraft/class_2794;method_12098()Lnet/minecraft/class_1966;
named getBiomeSource
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getBiomeSource()Lnet/minecraft/world/biome/source/BiomeSource;
-
getWorldHeight
public abstract int getWorldHeight()- Mappings:
Namespace Name Mixin selector official f
Lcpz;f()I
intermediary method_12104
Lnet/minecraft/class_2794;method_12104()I
named getWorldHeight
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getWorldHeight()I
-
getEntitySpawnList
public Pool<SpawnSettings.SpawnEntry> getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) - Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lcaz;Lcau;Laxk;Lgh;)Lauf;
intermediary method_12113
Lnet/minecraft/class_2794;method_12113(Lnet/minecraft/class_1959;Lnet/minecraft/class_5138;Lnet/minecraft/class_1311;Lnet/minecraft/class_2338;)Lnet/minecraft/class_6012;
named getEntitySpawnList
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getEntitySpawnList(Lnet/minecraft/world/biome/Biome;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 a
Lcpz;a(Lgy;Lcau;Lcpy;Ldgp;J)V
intermediary method_16129
Lnet/minecraft/class_2794;method_16129(Lnet/minecraft/class_5455;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_3485;J)V
named setStructureStarts
Lnet/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 a
Lcpz;a(Lcau;Lcpy;Lha;Lcyi;)I
intermediary method_38264
Lnet/minecraft/class_2794;method_38264(Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)I
named getStructureReferences
Lnet/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
-
testBiomeByKey
protected boolean testBiomeByKey(Registry<Biome> registry, Predicate<RegistryKey<Biome>> condition, Biome biome) - Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lgx;Ljava/util/function/Predicate;Lcaz;)Z
intermediary method_38274
Lnet/minecraft/class_2794;method_38274(Lnet/minecraft/class_2378;Ljava/util/function/Predicate;Lnet/minecraft/class_1959;)Z
named testBiomeByKey
Lnet/minecraft/world/gen/chunk/ChunkGenerator;testBiomeByKey(Lnet/minecraft/util/registry/Registry;Ljava/util/function/Predicate;Lnet/minecraft/world/biome/Biome;)Z
-
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 a
Lcpz;a(Lcav;Lcau;Lcpy;)V
intermediary method_16130
Lnet/minecraft/class_2794;method_16130(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V
named addStructureReferences
Lnet/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 a
Lcpz;a(Ljava/util/concurrent/Executor;Lcud;Lcau;Lcpy;)Ljava/util/concurrent/CompletableFuture;
intermediary method_12088
Lnet/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 populateNoise
Lnet/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 g
Lcpz;g()I
intermediary method_16398
Lnet/minecraft/class_2794;method_16398()I
named getSeaLevel
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getSeaLevel()I
-
getMinimumY
public abstract int getMinimumY()- Mappings:
Namespace Name Mixin selector official h
Lcpz;h()I
intermediary method_33730
Lnet/minecraft/class_2794;method_33730()I
named getMinimumY
Lnet/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 a
Lcpz;a(IILctc$a;Lcaf;)I
intermediary method_16397
Lnet/minecraft/class_2794;method_16397(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)I
named getHeight
Lnet/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 a
Lcpz;a(IILcaf;)Lcap;
intermediary method_26261
Lnet/minecraft/class_2794;method_26261(IILnet/minecraft/class_5539;)Lnet/minecraft/class_4966;
named getColumnSample
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getColumnSample(IILnet/minecraft/world/HeightLimitView;)Lnet/minecraft/world/gen/chunk/VerticalBlockSample;
-
getHeightOnGround
- Mappings:
Namespace Name Mixin selector official b
Lcpz;b(IILctc$a;Lcaf;)I
intermediary method_20402
Lnet/minecraft/class_2794;method_20402(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)I
named getHeightOnGround
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getHeightOnGround(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
-
getHeightInGround
- Mappings:
Namespace Name Mixin selector official c
Lcpz;c(IILctc$a;Lcaf;)I
intermediary method_18028
Lnet/minecraft/class_2794;method_18028(IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;)I
named getHeightInGround
Lnet/minecraft/world/gen/chunk/ChunkGenerator;getHeightInGround(IILnet/minecraft/world/Heightmap$Type;Lnet/minecraft/world/HeightLimitView;)I
-
isStrongholdStartingChunk
- Mappings:
Namespace Name Mixin selector official a
Lcpz;a(Lbzk;)Z
intermediary method_28507
Lnet/minecraft/class_2794;method_28507(Lnet/minecraft/class_1923;)Z
named isStrongholdStartingChunk
Lnet/minecraft/world/gen/chunk/ChunkGenerator;isStrongholdStartingChunk(Lnet/minecraft/util/math/ChunkPos;)Z
-