diff --git a/mappings/net/minecraft/structure/processor/ProcessorLists.mapping b/mappings/net/minecraft/structure/processor/ProcessorLists.mapping index 771b06b15c..be6b9cc25a 100644 --- a/mappings/net/minecraft/structure/processor/ProcessorLists.mapping +++ b/mappings/net/minecraft/structure/processor/ProcessorLists.mapping @@ -1,4 +1,4 @@ CLASS net/minecraft/class_5469 net/minecraft/structure/processor/ProcessorLists METHOD method_30601 register (Ljava/lang/String;Lcom/google/common/collect/ImmutableList;)Lcom/google/common/collect/ImmutableList; - ARG 0 name + ARG 0 id ARG 1 processorList diff --git a/mappings/net/minecraft/world/biome/Biome.mapping b/mappings/net/minecraft/world/biome/Biome.mapping index 08d2947dc1..52166609ac 100644 --- a/mappings/net/minecraft/world/biome/Biome.mapping +++ b/mappings/net/minecraft/world/biome/Biome.mapping @@ -122,7 +122,8 @@ CLASS net/minecraft/class_1959 net/minecraft/world/biome/Biome METHOD method_8731 surfaceBuilder (Ljava/util/function/Supplier;)Lnet/minecraft/class_1959$class_1960; METHOD method_8735 precipitation (Lnet/minecraft/class_1959$class_1963;)Lnet/minecraft/class_1959$class_1960; ARG 1 precipitation - METHOD method_8737 configureSurfaceBuilder (Lnet/minecraft/class_3504;)Lnet/minecraft/class_1959$class_1960; + METHOD method_8737 surfaceBuilder (Lnet/minecraft/class_3504;)Lnet/minecraft/class_1959$class_1960; + ARG 1 surfaceBuilder METHOD method_8738 category (Lnet/minecraft/class_1959$class_1961;)Lnet/minecraft/class_1959$class_1960; ARG 1 category METHOD method_8740 depth (F)Lnet/minecraft/class_1959$class_1960; diff --git a/mappings/net/minecraft/world/gen/UniformIntDistribution.mapping b/mappings/net/minecraft/world/gen/UniformIntDistribution.mapping new file mode 100644 index 0000000000..5d3a5d1c68 --- /dev/null +++ b/mappings/net/minecraft/world/gen/UniformIntDistribution.mapping @@ -0,0 +1,20 @@ +CLASS net/minecraft/class_5428 net/minecraft/world/gen/UniformIntDistribution + FIELD field_25809 CODEC Lcom/mojang/serialization/Codec; + FIELD field_25810 base I + FIELD field_25811 spread I + METHOD (II)V + ARG 1 base + ARG 2 spread + METHOD method_30314 of (I)Lnet/minecraft/class_5428; + COMMENT Creates a distribution with a constant value. + ARG 0 value + COMMENT the constant value + METHOD method_30315 of (II)Lnet/minecraft/class_5428; + ARG 0 base + ARG 1 spread + METHOD method_30316 createValidatedCodec (III)Lcom/mojang/serialization/Codec; + ARG 0 minBase + ARG 1 maxBase + ARG 2 maxSpread + METHOD method_30321 getValue (Ljava/util/Random;)I + ARG 1 random diff --git a/mappings/net/minecraft/world/gen/carver/ConfiguredCarvers.mapping b/mappings/net/minecraft/world/gen/carver/ConfiguredCarvers.mapping index 6edfdd98ee..44e3588e10 100644 --- a/mappings/net/minecraft/world/gen/carver/ConfiguredCarvers.mapping +++ b/mappings/net/minecraft/world/gen/carver/ConfiguredCarvers.mapping @@ -1,4 +1,4 @@ CLASS net/minecraft/class_5463 net/minecraft/world/gen/carver/ConfiguredCarvers METHOD method_30588 register (Ljava/lang/String;Lnet/minecraft/class_2922;)Lnet/minecraft/class_2922; - ARG 0 name + ARG 0 id ARG 1 configuredCarver diff --git a/mappings/net/minecraft/world/gen/decorator/ChanceDecoratorConfig.mapping b/mappings/net/minecraft/world/gen/decorator/ChanceDecoratorConfig.mapping index 9460a94c38..4025ec4ba6 100644 --- a/mappings/net/minecraft/world/gen/decorator/ChanceDecoratorConfig.mapping +++ b/mappings/net/minecraft/world/gen/decorator/ChanceDecoratorConfig.mapping @@ -1,4 +1,5 @@ CLASS net/minecraft/class_3297 net/minecraft/world/gen/decorator/ChanceDecoratorConfig FIELD field_14289 chance I + FIELD field_24980 CODEC Lcom/mojang/serialization/Codec; METHOD (I)V ARG 1 chance diff --git a/mappings/net/minecraft/world/gen/decorator/CountExtraChanceDecoratorConfig.mapping b/mappings/net/minecraft/world/gen/decorator/CountExtraDecoratorConfig.mapping similarity index 89% rename from mappings/net/minecraft/world/gen/decorator/CountExtraChanceDecoratorConfig.mapping rename to mappings/net/minecraft/world/gen/decorator/CountExtraDecoratorConfig.mapping index 319a0c4836..a484f1ba9f 100644 --- a/mappings/net/minecraft/world/gen/decorator/CountExtraChanceDecoratorConfig.mapping +++ b/mappings/net/minecraft/world/gen/decorator/CountExtraDecoratorConfig.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_3276 net/minecraft/world/gen/decorator/CountExtraChanceDecoratorConfig +CLASS net/minecraft/class_3276 net/minecraft/world/gen/decorator/CountExtraDecoratorConfig FIELD field_14209 extraChance F FIELD field_14210 extraCount I FIELD field_14211 count I diff --git a/mappings/net/minecraft/world/gen/decorator/TopSolidHeightmapNoiseBiasedDecoratorConfig.mapping b/mappings/net/minecraft/world/gen/decorator/CountNoiseBiasedDecoratorConfig.mapping similarity index 87% rename from mappings/net/minecraft/world/gen/decorator/TopSolidHeightmapNoiseBiasedDecoratorConfig.mapping rename to mappings/net/minecraft/world/gen/decorator/CountNoiseBiasedDecoratorConfig.mapping index e5096a3257..e414b74527 100644 --- a/mappings/net/minecraft/world/gen/decorator/TopSolidHeightmapNoiseBiasedDecoratorConfig.mapping +++ b/mappings/net/minecraft/world/gen/decorator/CountNoiseBiasedDecoratorConfig.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_3275 net/minecraft/world/gen/decorator/TopSolidHeightmapNoiseBiasedDecoratorConfig +CLASS net/minecraft/class_3275 net/minecraft/world/gen/decorator/CountNoiseBiasedDecoratorConfig FIELD field_14205 noiseOffset D FIELD field_14206 noiseFactor D FIELD field_14208 noiseToCountRatio I diff --git a/mappings/net/minecraft/world/gen/decorator/NoiseHeightmapDecoratorConfig.mapping b/mappings/net/minecraft/world/gen/decorator/CountNoiseDecoratorConfig.mapping similarity index 90% rename from mappings/net/minecraft/world/gen/decorator/NoiseHeightmapDecoratorConfig.mapping rename to mappings/net/minecraft/world/gen/decorator/CountNoiseDecoratorConfig.mapping index dd088e1b2b..62bf59895a 100644 --- a/mappings/net/minecraft/world/gen/decorator/NoiseHeightmapDecoratorConfig.mapping +++ b/mappings/net/minecraft/world/gen/decorator/CountNoiseDecoratorConfig.mapping @@ -1,4 +1,4 @@ -CLASS net/minecraft/class_3003 net/minecraft/world/gen/decorator/NoiseHeightmapDecoratorConfig +CLASS net/minecraft/class_3003 net/minecraft/world/gen/decorator/CountNoiseDecoratorConfig FIELD field_13444 noiseLevel D FIELD field_13445 aboveNoise I FIELD field_13446 belowNoise I diff --git a/mappings/net/minecraft/world/gen/decorator/Decoratable.mapping b/mappings/net/minecraft/world/gen/decorator/Decoratable.mapping new file mode 100644 index 0000000000..7589cf4a45 --- /dev/null +++ b/mappings/net/minecraft/world/gen/decorator/Decoratable.mapping @@ -0,0 +1,26 @@ +CLASS net/minecraft/class_5432 net/minecraft/world/gen/decorator/Decoratable + METHOD method_30371 spreadHorizontally ()Ljava/lang/Object; + COMMENT Applies the {@code minecraft:square} decorator, which spreads positions + COMMENT horizontally a random amount between 0 and 15 blocks on both horizontal axes. + METHOD method_30372 applyChance (I)Ljava/lang/Object; + COMMENT Applies the {@code minecraft:chance} decorators, which only + COMMENT allows positions with a {@code 1 / count} chance, + COMMENT e.g. a count of 2 would give approximately half of the input positions. + ARG 1 chance + METHOD method_30373 repeat (Lnet/minecraft/class_5428;)Ljava/lang/Object; + COMMENT Applies the {@code minecraft:count} decorator, which repeats + COMMENT the input positions by the value of the {@code count} distribution. + ARG 1 count + COMMENT the distribution of the repetition count + METHOD method_30374 decorate (Lnet/minecraft/class_3243;)Ljava/lang/Object; + ARG 1 decorator + METHOD method_30375 repeat (I)Ljava/lang/Object; + COMMENT Applies the {@code minecraft:count} decorator, which repeats + COMMENT the input positions {@code count} times. + ARG 1 count + COMMENT the repetition count + METHOD method_30376 repeatRandomly (I)Ljava/lang/Object; + COMMENT Applies the {@code minecraft:count} decorator, which repeats + COMMENT the input positions by a random number between 0 and {@code maxCount}. + ARG 1 maxCount + COMMENT the maximum repetition count diff --git a/mappings/net/minecraft/world/gen/decorator/Decorator.mapping b/mappings/net/minecraft/world/gen/decorator/Decorator.mapping index bce75f87a9..4bdae3e4f8 100644 --- a/mappings/net/minecraft/world/gen/decorator/Decorator.mapping +++ b/mappings/net/minecraft/world/gen/decorator/Decorator.mapping @@ -6,6 +6,10 @@ CLASS net/minecraft/class_3284 net/minecraft/world/gen/decorator/Decorator ARG 0 registryName ARG 1 decorator METHOD method_14452 getPositions (Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream; + ARG 1 context + ARG 2 random + ARG 3 config + ARG 4 pos METHOD method_23475 configure (Lnet/minecraft/class_2998;)Lnet/minecraft/class_3243; ARG 1 config METHOD method_28928 getCodec ()Lcom/mojang/serialization/Codec; diff --git a/mappings/net/minecraft/world/gen/decorator/CountDepthDecoratorConfig.mapping b/mappings/net/minecraft/world/gen/decorator/DepthAverageDecoratorConfig.mapping similarity index 66% rename from mappings/net/minecraft/world/gen/decorator/CountDepthDecoratorConfig.mapping rename to mappings/net/minecraft/world/gen/decorator/DepthAverageDecoratorConfig.mapping index 4b90538a29..9acddf794a 100644 --- a/mappings/net/minecraft/world/gen/decorator/CountDepthDecoratorConfig.mapping +++ b/mappings/net/minecraft/world/gen/decorator/DepthAverageDecoratorConfig.mapping @@ -1,6 +1,7 @@ -CLASS net/minecraft/class_3277 net/minecraft/world/gen/decorator/CountDepthDecoratorConfig +CLASS net/minecraft/class_3277 net/minecraft/world/gen/decorator/DepthAverageDecoratorConfig FIELD field_14212 spread I FIELD field_14214 count I + FIELD field_24982 CODEC Lcom/mojang/serialization/Codec; METHOD (II)V ARG 1 count ARG 2 baseline diff --git a/mappings/net/minecraft/world/gen/decorator/SimpleDecorator.mapping b/mappings/net/minecraft/world/gen/decorator/SimpleDecorator.mapping index ed9971fc9f..bde96f53a2 100644 --- a/mappings/net/minecraft/world/gen/decorator/SimpleDecorator.mapping +++ b/mappings/net/minecraft/world/gen/decorator/SimpleDecorator.mapping @@ -1,2 +1,5 @@ CLASS net/minecraft/class_3667 net/minecraft/world/gen/decorator/SimpleDecorator METHOD method_14452 getPositions (Ljava/util/Random;Lnet/minecraft/class_2998;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream; + ARG 1 random + ARG 2 config + ARG 3 pos diff --git a/mappings/net/minecraft/world/gen/feature/ConfiguredFeatures.mapping b/mappings/net/minecraft/world/gen/feature/ConfiguredFeatures.mapping index c3b43f6bb7..e2987b12cf 100644 --- a/mappings/net/minecraft/world/gen/feature/ConfiguredFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/ConfiguredFeatures.mapping @@ -1,7 +1,7 @@ CLASS net/minecraft/class_5464 net/minecraft/world/gen/feature/ConfiguredFeatures FIELD field_26090 FOREST_FLOWER_VEGETATION_CONFIGS Lcom/google/common/collect/ImmutableList; METHOD method_30590 register (Ljava/lang/String;Lnet/minecraft/class_2975;)Lnet/minecraft/class_2975; - ARG 0 name + ARG 0 id ARG 1 configuredFeature CLASS class_5465 Configs FIELD field_26141 GRASS_CONFIG Lnet/minecraft/class_4638; diff --git a/mappings/net/minecraft/world/gen/feature/ConfiguredStructureFeatures.mapping b/mappings/net/minecraft/world/gen/feature/ConfiguredStructureFeatures.mapping index 5833b8f6fe..d5d4a7c38c 100644 --- a/mappings/net/minecraft/world/gen/feature/ConfiguredStructureFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/ConfiguredStructureFeatures.mapping @@ -1,4 +1,4 @@ CLASS net/minecraft/class_5470 net/minecraft/world/gen/feature/ConfiguredStructureFeatures METHOD method_30603 register (Ljava/lang/String;Lnet/minecraft/class_5312;)Lnet/minecraft/class_5312; - ARG 0 name + ARG 0 id ARG 1 configuredStructureFeature diff --git a/mappings/net/minecraft/world/gen/surfacebuilder/ConfiguredSurfaceBuilders.mapping b/mappings/net/minecraft/world/gen/surfacebuilder/ConfiguredSurfaceBuilders.mapping index e39f162b1a..8904552629 100644 --- a/mappings/net/minecraft/world/gen/surfacebuilder/ConfiguredSurfaceBuilders.mapping +++ b/mappings/net/minecraft/world/gen/surfacebuilder/ConfiguredSurfaceBuilders.mapping @@ -1,4 +1,4 @@ CLASS net/minecraft/class_5471 net/minecraft/world/gen/surfacebuilder/ConfiguredSurfaceBuilders METHOD method_30610 register (Ljava/lang/String;Lnet/minecraft/class_3504;)Lnet/minecraft/class_3504; - ARG 0 name + ARG 0 id ARG 1 configuredSurfaceBuilder