mirror of https://github.com/FabricMC/yarn.git
Add Feature mappings (#1097)
* add feature mappings * update basalt mappings * map missing feature name * Add random parameters Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
This commit is contained in:
parent
c52a1b78a6
commit
eedc80b174
|
@ -0,0 +1,20 @@
|
|||
CLASS net/minecraft/class_4787 net/minecraft/structure/NetherFossilGenerator
|
||||
FIELD field_22197 FOSSILS [Lnet/minecraft/class_2960;
|
||||
METHOD method_24453 addPieces (Lnet/minecraft/class_3485;Ljava/util/List;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 0 manager
|
||||
ARG 1 pieces
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
CLASS class_4788 Piece
|
||||
FIELD field_22198 template Lnet/minecraft/class_2960;
|
||||
FIELD field_22199 structureRotation Lnet/minecraft/class_2470;
|
||||
METHOD <init> (Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
|
||||
ARG 1 manager
|
||||
ARG 2 tag
|
||||
METHOD <init> (Lnet/minecraft/class_3485;Lnet/minecraft/class_2960;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)V
|
||||
ARG 1 manager
|
||||
ARG 2 template
|
||||
ARG 3 pos
|
||||
ARG 4 rotation
|
||||
METHOD method_24454 initializeStructureData (Lnet/minecraft/class_3485;)V
|
||||
ARG 1 manager
|
|
@ -65,6 +65,10 @@ CLASS net/minecraft/class_3443 net/minecraft/structure/StructurePiece
|
|||
ARG 8 lootTbaleId
|
||||
METHOD method_14931 generate (Lnet/minecraft/class_1936;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;)Z
|
||||
ARG 1 world
|
||||
ARG 2 generator
|
||||
ARG 3 random
|
||||
ARG 4 box
|
||||
ARG 5 pos
|
||||
METHOD method_14933 fillWithOutlineUnderSealevel (Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;Ljava/util/Random;FIIIIIILnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZ)V
|
||||
ARG 3 random
|
||||
METHOD method_14934 getFacing ()Lnet/minecraft/class_2350;
|
||||
|
|
|
@ -8,8 +8,11 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
FIELD field_16714 feature Lnet/minecraft/class_3195;
|
||||
FIELD field_16715 random Lnet/minecraft/class_2919;
|
||||
METHOD <init> (Lnet/minecraft/class_3195;IILnet/minecraft/class_3341;IJ)V
|
||||
ARG 1 feature
|
||||
ARG 2 chunkX
|
||||
ARG 3 chunkZ
|
||||
ARG 4 box
|
||||
ARG 5 references
|
||||
METHOD method_14962 getPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_14963 getChildren ()Ljava/util/List;
|
||||
METHOD method_14964 incrementReferences ()V
|
||||
|
@ -32,6 +35,7 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
ARG 5 biome
|
||||
METHOD method_16656 getFeature ()Lnet/minecraft/class_3195;
|
||||
METHOD method_16657 hasChildren ()Z
|
||||
METHOD method_23676 getReferences ()I
|
||||
CLASS 1
|
||||
METHOD <init> (Lnet/minecraft/class_3195;IILnet/minecraft/class_3341;IJ)V
|
||||
ARG 2 chunkX
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
CLASS net/minecraft/class_4779 net/minecraft/world/gen/feature/BasaltPillarFeature
|
||||
METHOD method_24434 tryPlaceBasalt (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
METHOD method_24435 stopOrPlaceBasalt (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
|
@ -1,2 +1,3 @@
|
|||
CLASS net/minecraft/class_4634 net/minecraft/world/gen/feature/BlockPileFeatureConfig
|
||||
FIELD field_21229 stateProvider Lnet/minecraft/class_4651;
|
||||
METHOD method_23406 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4634;
|
||||
|
|
|
@ -19,6 +19,7 @@ CLASS net/minecraft/class_3031 net/minecraft/world/gen/feature/Feature
|
|||
FIELD field_16654 JIGSAW_STRUCTURES Ljava/util/List;
|
||||
FIELD field_16655 PILLAGER_OUTPOST Lnet/minecraft/class_3195;
|
||||
FIELD field_21219 FLOWER Lnet/minecraft/class_4624;
|
||||
FIELD field_22190 NETHER_FOSSIL Lnet/minecraft/class_3195;
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD method_13148 deserializeConfig (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3037;
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
CLASS net/minecraft/class_4781 net/minecraft/world/gen/feature/HugeFungiFeature
|
||||
METHOD method_24438 getStartPos (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338$class_2339;
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
METHOD method_24439 generateHatBlock (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_4780;Lnet/minecraft/class_2338$class_2339;FFF)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 pos
|
||||
ARG 5 decorationChance
|
||||
ARG 6 generationChance
|
||||
ARG 7 vineChance
|
||||
METHOD method_24440 generateStem (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_4780;Lnet/minecraft/class_2338$class_2339;IZ)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 pos
|
||||
ARG 5 stemHeight
|
||||
ARG 6 thickStem
|
||||
METHOD method_24441 tryGenerateVines (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
ARG 4 state
|
||||
METHOD method_24442 generateVines (Lnet/minecraft/class_2338;Lnet/minecraft/class_1936;Ljava/util/Random;)V
|
||||
ARG 1 pos
|
||||
ARG 2 world
|
||||
ARG 3 random
|
||||
METHOD method_24443 generateHat (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_4780;Lnet/minecraft/class_2338$class_2339;IZ)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 pos
|
||||
ARG 5 hatHeight
|
||||
ARG 6 thickStem
|
|
@ -1 +1,11 @@
|
|||
CLASS net/minecraft/class_4780 net/minecraft/world/gen/feature/HugeFungiFeatureConfig
|
||||
FIELD field_22191 stemState Lnet/minecraft/class_2680;
|
||||
FIELD field_22192 hatState Lnet/minecraft/class_2680;
|
||||
FIELD field_22193 decorationState Lnet/minecraft/class_2680;
|
||||
FIELD field_22194 planted Z
|
||||
METHOD <init> (Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)V
|
||||
ARG 1 stemState
|
||||
ARG 2 hatState
|
||||
ARG 3 decorationState
|
||||
ARG 4 planted
|
||||
METHOD method_24436 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4780;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_4782 net/minecraft/world/gen/feature/NetherForestVegetationFeature
|
|
@ -0,0 +1,2 @@
|
|||
CLASS net/minecraft/class_4785 net/minecraft/world/gen/feature/NetherFossilFeature
|
||||
CLASS class_4786 Start
|
|
@ -0,0 +1,12 @@
|
|||
CLASS net/minecraft/class_4783 net/minecraft/world/gen/feature/NoSurfaceOreFeature
|
||||
METHOD method_24446 checkAir (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_24447 getStartPos (Lnet/minecraft/class_2338$class_2339;Ljava/util/Random;Lnet/minecraft/class_2338;I)V
|
||||
ARG 1 mutable
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
ARG 4 size
|
||||
METHOD method_24448 randomCoord (Ljava/util/Random;I)I
|
||||
ARG 1 random
|
||||
ARG 2 size
|
|
@ -0,0 +1,17 @@
|
|||
CLASS net/minecraft/class_4784 net/minecraft/world/gen/feature/WeepingVinesFeature
|
||||
FIELD field_22196 DIRECTIONS [Lnet/minecraft/class_2350;
|
||||
METHOD method_24450 generateVines (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338$class_2339;III)V
|
||||
ARG 0 world
|
||||
ARG 1 random
|
||||
ARG 2 pos
|
||||
ARG 3 length
|
||||
ARG 4 minAge
|
||||
ARG 5 maxAge
|
||||
METHOD method_24451 tryGenerateNearVines (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
METHOD method_24452 tryGenerateFarVines (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
Loading…
Reference in New Issue