From f8632410405de60f9b861b93f1fc00e0f07f2fec Mon Sep 17 00:00:00 2001 From: mschae23 <46165762+mschae23@users.noreply.github.com> Date: Thu, 18 Nov 2021 10:09:28 +0100 Subject: [PATCH] 1.18-pre3 feature mappings (#2839) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../minecraft/world/gen/feature/OrePlacedFeatures.mapping | 8 ++++---- .../minecraft/world/gen/feature/PlacedFeatures.mapping | 4 ++++ .../gen/feature/UndergroundConfiguredFeatures.mapping | 5 +++++ .../world/gen/feature/VegetationPlacedFeatures.mapping | 5 ++++- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/mappings/net/minecraft/world/gen/feature/OrePlacedFeatures.mapping b/mappings/net/minecraft/world/gen/feature/OrePlacedFeatures.mapping index 1d11a151ce..a14c3ac4bc 100644 --- a/mappings/net/minecraft/world/gen/feature/OrePlacedFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/OrePlacedFeatures.mapping @@ -40,10 +40,10 @@ CLASS net/minecraft/class_6816 net/minecraft/world/gen/feature/OrePlacedFeatures FIELD field_36077 ORE_REDSTONE Lnet/minecraft/class_6796; METHOD method_39732 modifiersWithCount (ILnet/minecraft/class_6797;)Ljava/util/List; ARG 0 count - ARG 1 modifier + ARG 1 heightModfier METHOD method_39733 modifiers (Lnet/minecraft/class_6797;Lnet/minecraft/class_6797;)Ljava/util/List; - ARG 0 first - ARG 1 second + ARG 0 countModifier + ARG 1 heightModifier METHOD method_39734 modifiersWithRarity (ILnet/minecraft/class_6797;)Ljava/util/List; ARG 0 chance - ARG 1 modifier + ARG 1 heightModifier diff --git a/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping b/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping index d8372e4d67..9c743ed5db 100644 --- a/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping @@ -9,6 +9,10 @@ CLASS net/minecraft/class_6817 net/minecraft/world/gen/feature/PlacedFeatures FIELD field_36085 FOUR_ABOVE_AND_BELOW_RANGE Lnet/minecraft/class_6797; FIELD field_36086 BOTTOM_TO_120_RANGE Lnet/minecraft/class_6797; METHOD method_39735 getDefaultPlacedFeature ()Lnet/minecraft/class_6796; + METHOD method_39736 createCountExtraModifier (IFI)Lnet/minecraft/class_6797; + ARG 0 count + ARG 1 extraChance + ARG 2 extraCount METHOD method_39737 register (Ljava/lang/String;Lnet/minecraft/class_6796;)Lnet/minecraft/class_6796; ARG 0 id ARG 1 feature diff --git a/mappings/net/minecraft/world/gen/feature/UndergroundConfiguredFeatures.mapping b/mappings/net/minecraft/world/gen/feature/UndergroundConfiguredFeatures.mapping index c8f5b159a2..4dabfc62c0 100644 --- a/mappings/net/minecraft/world/gen/feature/UndergroundConfiguredFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/UndergroundConfiguredFeatures.mapping @@ -22,3 +22,8 @@ CLASS net/minecraft/class_6801 net/minecraft/world/gen/feature/UndergroundConfig FIELD field_35790 AMETHYST_GEODE Lnet/minecraft/class_2975; FIELD field_35791 FOSSIL_IDS Ljava/util/List; FIELD field_35792 COAL_FOSSIL_IDS Ljava/util/List; + FIELD field_35793 CAVE_VINES_PLANT_PROVIDER Lnet/minecraft/class_4657; + FIELD field_35794 RANDOMIZED_AGE_CAVE_VINES_PROVIDER Lnet/minecraft/class_5929; + METHOD method_39686 createSmallDripleafFeature ()Lnet/minecraft/class_6796; + METHOD method_39687 createBigDripleafFeature (Lnet/minecraft/class_2350;)Lnet/minecraft/class_6796; + ARG 0 direction diff --git a/mappings/net/minecraft/world/gen/feature/VegetationPlacedFeatures.mapping b/mappings/net/minecraft/world/gen/feature/VegetationPlacedFeatures.mapping index e53bfc8033..628b4bb9cf 100644 --- a/mappings/net/minecraft/world/gen/feature/VegetationPlacedFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/VegetationPlacedFeatures.mapping @@ -19,6 +19,7 @@ CLASS net/minecraft/class_6819 net/minecraft/world/gen/feature/VegetationPlacedF FIELD field_36131 FLOWER_SWAMP Lnet/minecraft/class_6796; FIELD field_36132 FLOWER_PLAIN Lnet/minecraft/class_6796; FIELD field_36133 FLOWER_MEADOW Lnet/minecraft/class_6796; + FIELD field_36134 NOT_IN_SURFACE_WATER_MODIFIER Lnet/minecraft/class_6797; FIELD field_36135 TREES_PLAINS Lnet/minecraft/class_6796; FIELD field_36136 DARK_FOREST_VEGETATION Lnet/minecraft/class_6796; FIELD field_36137 FLOWER_FOREST_FLOWERS Lnet/minecraft/class_6796; @@ -77,6 +78,8 @@ CLASS net/minecraft/class_6819 net/minecraft/world/gen/feature/VegetationPlacedF ARG 1 modifier METHOD method_39740 modifiers (Lnet/minecraft/class_6797;)Ljava/util/List; ARG 0 modifier - METHOD method_39741 modifiers (Lnet/minecraft/class_6797;Lnet/minecraft/class_2248;)Ljava/util/List; + METHOD method_39741 modifiersWithWouldSurvive (Lnet/minecraft/class_6797;Lnet/minecraft/class_2248;)Ljava/util/List; ARG 0 modifier ARG 1 block + METHOD method_39742 modifiersBuilder (Lnet/minecraft/class_6797;)Lcom/google/common/collect/ImmutableList$Builder; + ARG 0 countModifier