Map vertical surface types (#2128)

This commit is contained in:
haykam821 2021-03-12 15:18:13 -05:00 committed by GitHub
parent 4f9e71559d
commit f46af2fa9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
CLASS net/minecraft/class_5932 net/minecraft/util/math/VerticalSurfaceType
FIELD field_29315 CODEC Lcom/mojang/serialization/Codec;
FIELD field_29316 direction Lnet/minecraft/class_2350;
FIELD field_29317 offset I
FIELD field_29318 name Ljava/lang/String;
FIELD field_29319 VALUES [Lnet/minecraft/class_5932;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_2350;ILjava/lang/String;)V
ARG 3 direction
ARG 4 offset
ARG 5 name
METHOD method_34378 byName (Ljava/lang/String;)Lnet/minecraft/class_5932;
ARG 0 name
METHOD method_34379 getDirection ()Lnet/minecraft/class_2350;
METHOD method_34380 getOffset ()I

View File

@ -1,5 +1,7 @@
CLASS net/minecraft/class_5931 net/minecraft/world/gen/decorator/CaveSurfaceDecoratorConfig
FIELD field_29310 CODEC Lcom/mojang/serialization/Codec;
FIELD field_29311 surface Lnet/minecraft/class_5932;
FIELD field_29312 searchRange I
METHOD <init> (Lnet/minecraft/class_5932;I)V
ARG 1 surface
ARG 2 searchRange

View File

@ -3,6 +3,7 @@ CLASS net/minecraft/class_5927 net/minecraft/world/gen/feature/VegetationPatchFe
FIELD field_29286 replaceable Lnet/minecraft/class_2960;
FIELD field_29287 groundState Lnet/minecraft/class_4651;
FIELD field_29288 vegetationFeature Ljava/util/function/Supplier;
FIELD field_29289 surface Lnet/minecraft/class_5932;
FIELD field_29290 depth Lnet/minecraft/class_5428;
FIELD field_29291 extraBottomBlockChance F
FIELD field_29292 verticalRange I
@ -13,6 +14,7 @@ CLASS net/minecraft/class_5927 net/minecraft/world/gen/feature/VegetationPatchFe
ARG 1 replaceable
ARG 2 groundState
ARG 3 vegetationFeature
ARG 4 surface
ARG 5 depth
ARG 6 extraBottomBlockChance
ARG 7 verticalRange