mirror of https://github.com/FabricMC/yarn.git
102 lines
6.3 KiB
Plaintext
102 lines
6.3 KiB
Plaintext
CLASS net/minecraft/class_2794 net/minecraft/world/gen/chunk/ChunkGenerator
|
|
COMMENT In charge of shaping, adding biome specific surface blocks, and carving chunks,
|
|
COMMENT as well as populating the generated chunks with {@linkplain net.minecraft.world.gen.feature.Feature features} and {@linkplain net.minecraft.entity.Entity entities}.
|
|
COMMENT Biome placement starts here, however all vanilla and most modded chunk generators delegate this to a {@linkplain net.minecraft.world.biome.source.BiomeSource biome source}.
|
|
FIELD field_12761 populationSource Lnet/minecraft/class_1966;
|
|
COMMENT Used to control the population step without replacing the actual biome that comes from the original {@link #biomeSource}.
|
|
COMMENT
|
|
COMMENT <p>This is used by {@link FlatChunkGenerator} to overwrite biome properties like whether lakes generate, while preserving the original biome ID.
|
|
FIELD field_24746 CODEC Lcom/mojang/serialization/Codec;
|
|
FIELD field_24747 biomeSource Lnet/minecraft/class_1966;
|
|
FIELD field_37254 LOGGER Lorg/slf4j/Logger;
|
|
METHOD method_12088 populateNoise (Ljava/util/concurrent/Executor;Lnet/minecraft/class_6748;Lnet/minecraft/class_7138;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
|
|
COMMENT Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config.
|
|
ARG 1 executor
|
|
ARG 2 blender
|
|
ARG 3 structureAccessor
|
|
METHOD method_12098 getBiomeSource ()Lnet/minecraft/class_1966;
|
|
METHOD method_12100 getSpawnHeight (Lnet/minecraft/class_5539;)I
|
|
ARG 1 world
|
|
METHOD method_12102 generateFeatures (Lnet/minecraft/class_5281;Lnet/minecraft/class_2791;Lnet/minecraft/class_5138;)V
|
|
ARG 1 world
|
|
ARG 2 chunk
|
|
ARG 3 structureAccessor
|
|
METHOD method_12103 locateStructure (Lnet/minecraft/class_3218;Lnet/minecraft/class_6885;Lnet/minecraft/class_2338;IZ)Lcom/mojang/datafixers/util/Pair;
|
|
COMMENT Tries to find the closest structure of a given type near a given block.
|
|
COMMENT <p>
|
|
COMMENT New chunks will only be generated up to the {@link net.minecraft.world.chunk.ChunkStatus#STRUCTURE_STARTS} phase by this method.
|
|
COMMENT <p>
|
|
COMMENT The radius is ignored for strongholds.
|
|
COMMENT
|
|
COMMENT @return {@code null} if no structure could be found within the given search radius
|
|
ARG 3 center
|
|
ARG 4 radius
|
|
COMMENT the search radius in chunks around the chunk the given block position is in; a radius of 0 will only search in the given chunk
|
|
ARG 5 skipExistingChunks
|
|
COMMENT whether only structures that are not referenced by generated chunks (chunks past the STRUCTURE_STARTS stage) are returned, excluding strongholds
|
|
METHOD method_12104 getWorldHeight ()I
|
|
METHOD method_12107 populateEntities (Lnet/minecraft/class_3233;)V
|
|
ARG 1 region
|
|
METHOD method_12108 carve (Lnet/minecraft/class_3233;JLnet/minecraft/class_7138;Lnet/minecraft/class_4543;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_2893$class_2894;)V
|
|
COMMENT Generates caves for the given chunk.
|
|
ARG 1 chunkRegion
|
|
ARG 2 seed
|
|
METHOD method_12110 buildSurface (Lnet/minecraft/class_3233;Lnet/minecraft/class_5138;Lnet/minecraft/class_7138;Lnet/minecraft/class_2791;)V
|
|
COMMENT Places the surface blocks of the biomes after the noise has been generated.
|
|
ARG 1 region
|
|
ARG 2 structures
|
|
METHOD method_12113 getEntitySpawnList (Lnet/minecraft/class_6880;Lnet/minecraft/class_5138;Lnet/minecraft/class_1311;Lnet/minecraft/class_2338;)Lnet/minecraft/class_6012;
|
|
ARG 1 biome
|
|
ARG 2 accessor
|
|
ARG 3 group
|
|
ARG 4 pos
|
|
METHOD method_16129 setStructureStarts (Lnet/minecraft/class_5455;Lnet/minecraft/class_7138;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_3485;J)V
|
|
COMMENT Determines which structures should start in the given chunk and creates their starting points.
|
|
ARG 1 registryManager
|
|
METHOD method_16130 addStructureReferences (Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V
|
|
COMMENT Finds all structures that the given chunk intersects, and adds references to their starting chunks to it.
|
|
COMMENT A radius of 8 chunks around the given chunk will be searched for structure starts.
|
|
ARG 1 world
|
|
ARG 2 structureAccessor
|
|
ARG 3 chunk
|
|
METHOD method_16397 getHeight (IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;Lnet/minecraft/class_7138;)I
|
|
COMMENT Returns the raw noise height of a column for use in structure generation.
|
|
ARG 1 x
|
|
ARG 2 z
|
|
ARG 3 heightmap
|
|
ARG 4 world
|
|
METHOD method_16398 getSeaLevel ()I
|
|
METHOD method_18028 getHeightInGround (IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;Lnet/minecraft/class_7138;)I
|
|
ARG 1 x
|
|
ARG 2 z
|
|
ARG 3 heightmap
|
|
ARG 4 world
|
|
METHOD method_20402 getHeightOnGround (IILnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_5539;Lnet/minecraft/class_7138;)I
|
|
ARG 1 x
|
|
ARG 2 z
|
|
ARG 3 heightmap
|
|
ARG 4 world
|
|
METHOD method_26261 getColumnSample (IILnet/minecraft/class_5539;Lnet/minecraft/class_7138;)Lnet/minecraft/class_4966;
|
|
COMMENT Returns a sample of all the block states in a column for use in structure generation.
|
|
ARG 1 x
|
|
ARG 2 z
|
|
ARG 3 world
|
|
METHOD method_28506 getCodec ()Lcom/mojang/serialization/Codec;
|
|
METHOD method_28509 generateStrongholdPositions (Lnet/minecraft/class_6880;Lnet/minecraft/class_7138;Lnet/minecraft/class_6871;)Ljava/util/concurrent/CompletableFuture;
|
|
METHOD method_33730 getMinimumY ()I
|
|
METHOD method_38264 getStructureReferences (Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)I
|
|
ARG 0 structureAccessor
|
|
ARG 1 chunk
|
|
ARG 2 sectionPos
|
|
METHOD method_38275 populateBiomes (Lnet/minecraft/class_2378;Ljava/util/concurrent/Executor;Lnet/minecraft/class_7138;Lnet/minecraft/class_6748;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
|
|
ARG 1 biomeRegistry
|
|
METHOD method_39301 getCodecKey ()Ljava/util/Optional;
|
|
METHOD method_39462 getBlockBoxForChunk (Lnet/minecraft/class_2791;)Lnet/minecraft/class_3341;
|
|
ARG 0 chunk
|
|
METHOD method_40147 getConcentricRingsStartChunks (Lnet/minecraft/class_6871;Lnet/minecraft/class_7138;)Ljava/util/List;
|
|
ARG 1 structurePlacement
|
|
METHOD method_40149 filterBiome (Lnet/minecraft/class_6880;)Lnet/minecraft/class_6880;
|
|
ARG 1 biome
|
|
METHOD method_40450 getDebugHudText (Ljava/util/List;Lnet/minecraft/class_7138;Lnet/minecraft/class_2338;)V
|
|
ARG 1 text
|