Refactor some worldgen names (#2175)

* Refactor some worldgen names

* Update mappings/net/minecraft/structure/StructurePiece.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
SuperCoder79 2021-03-23 09:05:29 -04:00 committed by GitHub
parent 861e908c37
commit 330aeee0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 4 deletions

View File

@ -159,6 +159,8 @@ CLASS net/minecraft/class_3443 net/minecraft/structure/StructurePiece
ARG 7 maxY
ARG 8 maxZ
METHOD method_14943 writeNbt (Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
ARG 1 world
ARG 2 nbt
METHOD method_14945 addBlockWithRandomThreshold (Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;FIIILnet/minecraft/class_2680;Z)V
ARG 1 world
ARG 2 bounds
@ -169,6 +171,7 @@ CLASS net/minecraft/class_3443 net/minecraft/structure/StructurePiece
ARG 7 z
ARG 8 state
METHOD method_14946 toNbt (Lnet/minecraft/class_3218;)Lnet/minecraft/class_2487;
ARG 1 world
METHOD method_16653 getType ()Lnet/minecraft/class_3773;
METHOD method_16654 intersectsChunk (Lnet/minecraft/class_1923;I)Z
ARG 1 pos
@ -180,6 +183,12 @@ CLASS net/minecraft/class_3443 net/minecraft/structure/StructurePiece
ARG 3 y
ARG 4 z
ARG 5 box
METHOD method_33781 offsetPos (III)Lnet/minecraft/class_2338;
ARG 1 x
ARG 2 y
ARG 3 z
METHOD method_33881 canReplace (Lnet/minecraft/class_2680;)Z
ARG 1 state
CLASS class_3444 BlockRandomizer
FIELD field_15317 block Lnet/minecraft/class_2680;
METHOD method_14947 getBlock ()Lnet/minecraft/class_2680;

View File

@ -14,6 +14,7 @@ CLASS net/minecraft/class_5833 net/minecraft/world/gen/NoiseCaveSampler
FIELD field_28839 tunnelFalloffNoise Lnet/minecraft/class_5216;
FIELD field_28840 offsetNoise Lnet/minecraft/class_5216;
FIELD field_28841 offsetScaleNoise Lnet/minecraft/class_5216;
FIELD field_29226 caveDensityNoise Lnet/minecraft/class_5216;
METHOD <init> (Lnet/minecraft/class_5819;I)V
ARG 1 random
ARG 2 minY
@ -25,7 +26,7 @@ CLASS net/minecraft/class_5833 net/minecraft/world/gen/NoiseCaveSampler
ARG 1 x
ARG 2 y
ARG 3 z
ARG 4 noise
ARG 4 offset
METHOD method_33748 sample (Lnet/minecraft/class_5216;DDDD)D
ARG 0 sampler
ARG 1 x

View File

@ -1,4 +1,4 @@
CLASS net/minecraft/class_5917 net/minecraft/util/math/NoiseInterpolator
CLASS net/minecraft/class_5917 net/minecraft/world/gen/NoiseInterpolator
FIELD field_29227 startNoiseBuffer [[D
FIELD field_29228 endNoiseBuffer [[D
FIELD field_29229 sizeY I

View File

@ -30,3 +30,5 @@ CLASS net/minecraft/class_3310 net/minecraft/world/gen/feature/EndSpikeFeature
METHOD method_13967 getCenterZ ()I
METHOD method_13968 getBoundingBox ()Lnet/minecraft/class_238;
CLASS class_3311 SpikeCache
METHOD load (Ljava/lang/Object;)Ljava/lang/Object;
ARG 1 seed

View File

@ -12,11 +12,11 @@ CLASS net/minecraft/class_5921 net/minecraft/world/gen/feature/RootSystemFeature
ARG 3 config
ARG 4 random
ARG 5 pos
METHOD method_34310 hasEnoughSpaceForTree (Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_2338;)Z
METHOD method_34310 hasSpaceForTree (Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 config
ARG 3 pos
METHOD method_34311 placeRoots (Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Ljava/util/Random;IILnet/minecraft/class_2338$class_2339;)V
METHOD method_34311 generateRoots (Lnet/minecraft/class_5281;Lnet/minecraft/class_5926;Ljava/util/Random;IILnet/minecraft/class_2338$class_2339;)V
ARG 1 world
ARG 2 config
ARG 3 random

View File

@ -1,4 +1,6 @@
CLASS net/minecraft/class_5922 net/minecraft/world/gen/feature/VegetationPatchFeature
METHOD method_34314 (Lnet/minecraft/class_3494;Lnet/minecraft/class_2680;)Z
ARG 1 state
METHOD method_34315 generateVegetationFeature (Lnet/minecraft/class_5281;Lnet/minecraft/class_5927;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 config
@ -30,3 +32,5 @@ CLASS net/minecraft/class_5922 net/minecraft/world/gen/feature/VegetationPatchFe
ARG 7 radiusZ
METHOD method_34319 getReplaceablePredicate (Lnet/minecraft/class_5927;)Ljava/util/function/Predicate;
ARG 0 config
METHOD method_34320 (Lnet/minecraft/class_2680;)Z
ARG 0 state