Improve some worldgen parameters (#3522)

- PlacedFeature: Added mappings for `random`
- PlacedFeatures: Used more descriptive names for configured feature
  registry entries
- TreeDecorator: Fixed a typo
This commit is contained in:
Juuz 2023-03-04 04:24:25 +02:00 committed by GitHub
parent e817f40aa8
commit 6fb421c29c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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