From 6fb421c29cd61447ec398057a08f9cc51b4c6f0f Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 4 Mar 2023 04:24:25 +0200 Subject: [PATCH] Improve some worldgen parameters (#3522) - PlacedFeature: Added mappings for `random` - PlacedFeatures: Used more descriptive names for configured feature registry entries - TreeDecorator: Fixed a typo --- .../net/minecraft/world/gen/feature/PlacedFeature.mapping | 3 +++ .../net/minecraft/world/gen/feature/PlacedFeatures.mapping | 6 +++--- .../minecraft/world/gen/treedecorator/TreeDecorator.mapping | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/mappings/net/minecraft/world/gen/feature/PlacedFeature.mapping b/mappings/net/minecraft/world/gen/feature/PlacedFeature.mapping index a231e646a1..7ff9283b3d 100644 --- a/mappings/net/minecraft/world/gen/feature/PlacedFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/PlacedFeature.mapping @@ -13,9 +13,11 @@ CLASS net/minecraft/class_6796 net/minecraft/world/gen/feature/PlacedFeature METHOD method_39644 generateUnregistered (Lnet/minecraft/class_5281;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z ARG 1 world ARG 2 generator + ARG 3 random ARG 4 pos METHOD method_39648 generate (Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Z ARG 1 context + ARG 2 random ARG 3 pos METHOD method_39649 (Lnet/minecraft/class_6797;Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream; ARG 3 pos @@ -28,4 +30,5 @@ CLASS net/minecraft/class_6796 net/minecraft/world/gen/feature/PlacedFeature COMMENT Stream#flatMap flatMap} in order they appear in the list. ARG 1 world ARG 2 generator + ARG 3 random ARG 4 pos diff --git a/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping b/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping index 88b6fe48c2..eb1637442d 100644 --- a/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping +++ b/mappings/net/minecraft/world/gen/feature/PlacedFeatures.mapping @@ -17,7 +17,7 @@ CLASS net/minecraft/class_6817 net/minecraft/world/gen/feature/PlacedFeatures METHOD method_39737 register (Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;Ljava/util/List;)V ARG 0 featureRegisterable ARG 1 key - ARG 2 entry + ARG 2 feature ARG 3 modifiers METHOD method_40365 wouldSurvive (Lnet/minecraft/class_2248;)Lnet/minecraft/class_6658; ARG 0 block @@ -33,12 +33,12 @@ CLASS net/minecraft/class_6817 net/minecraft/world/gen/feature/PlacedFeatures ARG 1 featureConfig ARG 2 modifiers METHOD method_40369 createEntry (Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)Lnet/minecraft/class_6880; - ARG 0 registryEntry + ARG 0 feature ARG 1 modifiers METHOD method_40370 register (Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;[Lnet/minecraft/class_6797;)V ARG 0 featureRegisterable ARG 1 key - ARG 2 entry + ARG 2 feature ARG 3 modifiers METHOD method_40371 isAir ()Lnet/minecraft/class_6661; METHOD method_46865 of (Ljava/lang/String;)Lnet/minecraft/class_5321; diff --git a/mappings/net/minecraft/world/gen/treedecorator/TreeDecorator.mapping b/mappings/net/minecraft/world/gen/treedecorator/TreeDecorator.mapping index 751aa6ef44..fa2f8d719f 100644 --- a/mappings/net/minecraft/world/gen/treedecorator/TreeDecorator.mapping +++ b/mappings/net/minecraft/world/gen/treedecorator/TreeDecorator.mapping @@ -20,7 +20,7 @@ CLASS net/minecraft/class_4662 net/minecraft/world/gen/treedecorator/TreeDecorat ARG 6 rootPositions METHOD method_43316 getWorld ()Lnet/minecraft/class_3746; METHOD method_43317 isAir (Lnet/minecraft/class_2338;)Z - ARG 1 poa + ARG 1 pos METHOD method_43318 replace (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V ARG 1 pos ARG 2 state