From f452d4fec24bcf755f34a54d8073fd48bf80e06f Mon Sep 17 00:00:00 2001 From: valoeghese <46117728+valoeghese@users.noreply.github.com> Date: Tue, 12 May 2020 12:17:01 +1200 Subject: [PATCH] Start on chunk generator docs (#1346) * start on chunk generator docs * fix typo * linkplain * update chunk generator jdoc. * comma --- mappings/net/minecraft/world/gen/chunk/ChunkGenerator.mapping | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mappings/net/minecraft/world/gen/chunk/ChunkGenerator.mapping b/mappings/net/minecraft/world/gen/chunk/ChunkGenerator.mapping index 379e23251f..d9d049cf89 100644 --- a/mappings/net/minecraft/world/gen/chunk/ChunkGenerator.mapping +++ b/mappings/net/minecraft/world/gen/chunk/ChunkGenerator.mapping @@ -1,4 +1,7 @@ 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_12759 seed J FIELD field_12760 world Lnet/minecraft/class_1936; FIELD field_12761 biomeSource Lnet/minecraft/class_1966; @@ -8,6 +11,7 @@ CLASS net/minecraft/class_2794 net/minecraft/world/gen/chunk/ChunkGenerator ARG 2 biomeSource ARG 3 config METHOD method_12088 populateNoise (Lnet/minecraft/class_1936;Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V + COMMENT Generates the base shape of the chunk out of the basic block states as decided by this chunk generator's config. ARG 1 world METHOD method_12097 hasStructure (Lnet/minecraft/class_1959;Lnet/minecraft/class_3195;)Z ARG 1 biome