Map the remaining fields and methods related to mineshaft generation (#2044)

* Map the remaining fields and methods related to mineshaft generation

* Clarify how the MineshaftPart#isAir method mutates the passed position
This commit is contained in:
haykam821 2021-02-11 06:05:44 -05:00 committed by GitHub
parent b32a964e46
commit 8d16bde753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View File

@ -55,6 +55,17 @@ CLASS net/minecraft/class_3353 net/minecraft/structure/MineshaftGenerator
ARG 5 x
ARG 6 y
ARG 7 z
METHOD method_33775 isAirOrWater (Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 pos
METHOD method_33776 fillSupportBeam (Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;III)V
ARG 1 world
ARG 2 box
ARG 3 x
ARG 4 y
ARG 5 z
METHOD method_33777 isNotRailOrLava (Lnet/minecraft/class_2680;)Z
ARG 1 state
CLASS class_3355 MineshaftCrossing
FIELD field_14419 twoFloors Z
FIELD field_14420 direction Lnet/minecraft/class_2350;
@ -93,6 +104,18 @@ CLASS net/minecraft/class_3353 net/minecraft/structure/MineshaftGenerator
ARG 4 maxX
ARG 5 y
ARG 6 z
METHOD method_33778 containsLiquid (Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;)Z
ARG 1 world
ARG 2 box
METHOD method_33779 isAir (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338$class_2339;III)Z
COMMENT Determines whether the block at the given coordinates is air.
COMMENT
COMMENT <p>This method mutates the passed position by {@linkplain net.minecraft.util.math.BlockPos.Mutable#set(int, int, int) setting it} based on the integer coordinates.
ARG 1 world
ARG 2 pos
ARG 3 x
ARG 4 y
ARG 5 z
CLASS class_3357 MineshaftRoom
FIELD field_14422 entrances Ljava/util/List;
METHOD <init> (ILjava/util/Random;IILnet/minecraft/class_3098$class_3100;)V

View File

@ -175,6 +175,12 @@ CLASS net/minecraft/class_3443 net/minecraft/structure/StructurePiece
ARG 1 pos
ARG 2 offset
METHOD method_16888 getRotation ()Lnet/minecraft/class_2470;
METHOD method_33780 canAddBlock (Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Z
ARG 1 world
ARG 2 x
ARG 3 y
ARG 4 z
ARG 5 box
CLASS class_3444 BlockRandomizer
FIELD field_15317 block Lnet/minecraft/class_2680;
METHOD method_14947 getBlock ()Lnet/minecraft/class_2680;

View File

@ -4,10 +4,19 @@ CLASS net/minecraft/class_3098 net/minecraft/world/gen/feature/MineshaftFeature
FIELD field_13689 name Ljava/lang/String;
FIELD field_13690 BY_NAME Ljava/util/Map;
FIELD field_24839 CODEC Lcom/mojang/serialization/Codec;
FIELD field_28850 wood Lnet/minecraft/class_2680;
FIELD field_28851 planks Lnet/minecraft/class_2680;
FIELD field_28852 fence Lnet/minecraft/class_2680;
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;)V
ARG 3 name
ARG 4 wood
ARG 5 planks
ARG 6 fence
METHOD method_13532 byName (Ljava/lang/String;)Lnet/minecraft/class_3098$class_3100;
ARG 0 name
METHOD method_13534 getName ()Ljava/lang/String;
METHOD method_13535 byIndex (I)Lnet/minecraft/class_3098$class_3100;
ARG 0 index
METHOD method_33760 getWood ()Lnet/minecraft/class_2680;
METHOD method_33761 getPlanks ()Lnet/minecraft/class_2680;
METHOD method_33762 getFence ()Lnet/minecraft/class_2680;