mirror of https://github.com/FabricMC/yarn.git
Map some mostly world gen stuff (#975)
* map some mostly world gen stuff * suggested changes and be more consistent * more tree stuff named and other stuff * update field mapping to suggested
This commit is contained in:
parent
898fb4c9be
commit
ffb857ca3b
|
@ -0,0 +1,14 @@
|
|||
CLASS net/minecraft/class_4719 net/minecraft/util/WoodType
|
||||
FIELD field_21676 OAK Lnet/minecraft/class_4719;
|
||||
FIELD field_21677 SPRUCE Lnet/minecraft/class_4719;
|
||||
FIELD field_21678 BIRCH Lnet/minecraft/class_4719;
|
||||
FIELD field_21679 ACACIA Lnet/minecraft/class_4719;
|
||||
FIELD field_21680 JUNGLE Lnet/minecraft/class_4719;
|
||||
FIELD field_21681 DARK_OAK Lnet/minecraft/class_4719;
|
||||
FIELD field_21682 VALUES Ljava/util/Set;
|
||||
FIELD field_21683 name Ljava/lang/String;
|
||||
METHOD <init> (Ljava/lang/String;)V
|
||||
ARG 1 name
|
||||
METHOD method_24026 stream ()Ljava/util/stream/Stream;
|
||||
METHOD method_24027 register (Lnet/minecraft/class_4719;)Lnet/minecraft/class_4719;
|
||||
METHOD method_24028 getName ()Ljava/lang/String;
|
|
@ -11,6 +11,7 @@ CLASS net/minecraft/class_3864 net/minecraft/world/biome/DefaultBiomeFeatures
|
|||
FIELD field_21123 CLAY Lnet/minecraft/class_2680;
|
||||
FIELD field_21124 GRASS_BLOCK Lnet/minecraft/class_2680;
|
||||
FIELD field_21125 MOSSY_COBBLESTONE Lnet/minecraft/class_2680;
|
||||
FIELD field_21126 OAK_TREE_CONFIG Lnet/minecraft/class_4640;
|
||||
FIELD field_21127 LARGE_FERN Lnet/minecraft/class_2680;
|
||||
FIELD field_21128 TALL_GRASS Lnet/minecraft/class_2680;
|
||||
FIELD field_21129 LILAC Lnet/minecraft/class_2680;
|
||||
|
@ -63,6 +64,11 @@ CLASS net/minecraft/class_3864 net/minecraft/world/biome/DefaultBiomeFeatures
|
|||
FIELD field_21180 RED_MUSHROOM_BLOCK Lnet/minecraft/class_2680;
|
||||
FIELD field_21181 BROWN_MUSHROOM_BLOCK Lnet/minecraft/class_2680;
|
||||
FIELD field_21182 MUSHROOM_BLOCK Lnet/minecraft/class_2680;
|
||||
FIELD field_21186 ACACIA_TREE_CONFIG Lnet/minecraft/class_4640;
|
||||
FIELD field_21187 BIRCH_TREE_CONFIG Lnet/minecraft/class_4640;
|
||||
FIELD field_21188 LARGE_BIRCH_TREE_CONFIG Lnet/minecraft/class_4640;
|
||||
FIELD field_21190 FANCY_TREE_CONFIG Lnet/minecraft/class_4640;
|
||||
FIELD field_21196 JUNGLE_GROUND_BUSH_CONFIG Lnet/minecraft/class_4643;
|
||||
METHOD method_16957 addMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
ARG 0 biome
|
||||
METHOD method_16958 addExtraMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
CLASS net/minecraft/class_4662 net/minecraft/world/gen/decorator/TreeDecorator
|
||||
METHOD method_23469 generate (Lnet/minecraft/class_1936;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;)V
|
||||
|
|
|
@ -4,6 +4,12 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/AbstractTreeFeatu
|
|||
METHOD method_12773 setBlockState (Lnet/minecraft/class_1945;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3341;)V
|
||||
METHOD method_12774 setBlockStateWithoutUpdatingNeighbors (Lnet/minecraft/class_1945;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
|
||||
METHOD method_12775 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Ljava/util/Set;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)Z
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
ARG 4 logPositions
|
||||
ARG 5 leavesPositions
|
||||
ARG 7 config
|
||||
METHOD method_16416 isLeaves (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
|
@ -34,3 +40,13 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/AbstractTreeFeatu
|
|||
METHOD method_16433 isDirtOrGrass (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 pos
|
||||
METHOD method_23382 setLogBlockState (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)Z
|
||||
ARG 1 world
|
||||
ARG 3 pos
|
||||
ARG 4 logPositions
|
||||
ARG 6 config
|
||||
METHOD method_23383 setLeavesBlockState (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)Z
|
||||
ARG 1 world
|
||||
ARG 3 pos
|
||||
ARG 4 leavesPositions
|
||||
ARG 6 config
|
||||
|
|
|
@ -1 +1,14 @@
|
|||
CLASS net/minecraft/class_4626 net/minecraft/world/gen/feature/BranchedTreeFeature
|
||||
METHOD method_23378 findPositionToGenerate (Lnet/minecraft/class_3747;IIILnet/minecraft/class_2338;Lnet/minecraft/class_4640;)Ljava/util/Optional;
|
||||
ARG 1 world
|
||||
ARG 2 height
|
||||
ARG 5 pos
|
||||
ARG 6 config
|
||||
METHOD method_23379 generate (Lnet/minecraft/class_3747;Ljava/util/Random;ILnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 height
|
||||
ARG 4 pos
|
||||
ARG 5 trunkTopOffset
|
||||
ARG 6 logPositions
|
||||
ARG 8 config
|
||||
|
|
|
@ -1,20 +1,67 @@
|
|||
CLASS net/minecraft/class_4640 net/minecraft/world/gen/feature/BranchedTreeFeatureConfig
|
||||
CLASS class_4641 Builder
|
||||
FIELD field_21270 foliagePlacer Lnet/minecraft/class_4647;
|
||||
FIELD field_21271 treeDecorators Ljava/util/List;
|
||||
FIELD field_21273 heightRandA I
|
||||
FIELD field_21274 heightRandB I
|
||||
FIELD field_21275 trunkHeight I
|
||||
FIELD field_21276 trunkHeightRandom I
|
||||
FIELD field_21277 trunkTopOffset I
|
||||
FIELD field_21278 trunkTopOffsetRandom I
|
||||
FIELD field_21279 foliageHeight I
|
||||
FIELD field_21280 foliageHeightRandom I
|
||||
FIELD field_21281 maxWaterDepth I
|
||||
FIELD field_21282 noVines Z
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
METHOD method_23427 noVines ()Lnet/minecraft/class_4640$class_4641;
|
||||
METHOD method_23429 treeDecorators (Ljava/util/List;)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 treeDecorators
|
||||
METHOD method_23430 heightRandA (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 heightRandA
|
||||
METHOD method_23432 heightRandB (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 heightRandB
|
||||
METHOD method_23433 trunkHeight (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 trunkHeight
|
||||
METHOD method_23434 trunkHeightRandom (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 trunkHeightRandom
|
||||
METHOD method_23435 trunkTopOffset (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 trunkTopOffset
|
||||
METHOD method_23436 trunkTopOffsetRandom (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 trunkTopOffsetRandom
|
||||
METHOD method_23437 foliageHeight (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 foliageHeight
|
||||
METHOD method_23438 foliageHeightRandom (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 foliageHeightRandom
|
||||
METHOD method_23439 maxWaterDepth (I)Lnet/minecraft/class_4640$class_4641;
|
||||
ARG 1 maxWaterDepth
|
||||
FIELD field_21259 foliagePlacer Lnet/minecraft/class_4647;
|
||||
FIELD field_21260 heightRandA I
|
||||
FIELD field_21261 heightRandB I
|
||||
FIELD field_21262 trunkHeight I
|
||||
FIELD field_21263 trunkHeightRandom I
|
||||
FIELD field_21264 trunkTopOffsetRandom I
|
||||
FIELD field_21264 trunkTopOffset I
|
||||
FIELD field_21265 trunkTopOffsetRandom I
|
||||
FIELD field_21266 foliageHeight I
|
||||
FIELD field_21267 foliageHeightRandom I
|
||||
FIELD field_21268 maxWaterDepth I
|
||||
FIELD field_21269 noVines Z
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Ljava/util/List;IIIIIIIIIIZ)V
|
||||
ARG 1 stateProvider
|
||||
ARG 2 stateProvider2
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
ARG 3 foliagePlacer
|
||||
ARG 4 treeDecorators
|
||||
ARG 5 baseHeight
|
||||
ARG 6 heightRandA
|
||||
ARG 7 heightRandB
|
||||
ARG 8 trunkHeight
|
||||
ARG 9 trunkHeightRandom
|
||||
ARG 10 trunkTopOffsetRandom
|
||||
ARG 10 trunkTopOffset
|
||||
ARG 11 trunkTopOffsetRandom
|
||||
ARG 12 foliageHeight
|
||||
ARG 13 foliageHeightRandom
|
||||
ARG 14 maxWaterDepth
|
||||
ARG 15 noVines
|
||||
METHOD method_23426 deserialize2 (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4640;
|
||||
ARG 0 dynamic
|
||||
|
|
|
@ -38,5 +38,9 @@ CLASS net/minecraft/class_3031 net/minecraft/world/gen/feature/Feature
|
|||
ARG 2 pos
|
||||
ARG 3 state
|
||||
METHOD method_16140 getCreatureSpawns ()Ljava/util/List;
|
||||
METHOD method_23395 isStone (Lnet/minecraft/class_2248;)Z
|
||||
ARG 0 block
|
||||
METHOD method_23396 isDirt (Lnet/minecraft/class_2248;)Z
|
||||
ARG 0 block
|
||||
METHOD method_23397 configure (Lnet/minecraft/class_3037;)Lnet/minecraft/class_2975;
|
||||
ARG 1 config
|
||||
|
|
|
@ -1,3 +1,14 @@
|
|||
CLASS net/minecraft/class_3074 net/minecraft/world/gen/feature/IcebergFeature
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 configFactory
|
||||
METHOD method_13414 isAirBelow (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_13418 (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IIZI)V
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_13420 isSnowyOrIcy (Lnet/minecraft/class_2248;)Z
|
||||
ARG 1 block
|
||||
METHOD method_13422 clearSnowAbove (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
|
|
|
@ -1,2 +1,13 @@
|
|||
CLASS net/minecraft/class_4636 net/minecraft/world/gen/feature/MegaTreeFeatureConfig
|
||||
CLASS class_4637 Builder
|
||||
FIELD field_21236 heightInterval I
|
||||
FIELD field_21592 crownHeight I
|
||||
METHOD method_23412 heightInterval (I)Lnet/minecraft/class_4636$class_4637;
|
||||
ARG 1 heightInterval
|
||||
METHOD method_23915 crownHeight (I)Lnet/minecraft/class_4636$class_4637;
|
||||
ARG 1 crownHeight
|
||||
FIELD field_21233 heightInterval I
|
||||
FIELD field_21591 crownHeight I
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Ljava/util/List;III)V
|
||||
ARG 5 heightInterval
|
||||
ARG 6 crownHeight
|
||||
|
|
|
@ -5,7 +5,7 @@ CLASS net/minecraft/class_3510 net/minecraft/world/gen/surfacebuilder/DefaultSur
|
|||
ARG 3 biome
|
||||
ARG 4 x
|
||||
ARG 5 z
|
||||
ARG 6 worldHeight
|
||||
ARG 6 height
|
||||
ARG 7 noise
|
||||
ARG 9 defaultBlock
|
||||
ARG 10 fluidBlock
|
||||
|
|
|
@ -33,7 +33,7 @@ CLASS net/minecraft/class_3523 net/minecraft/world/gen/surfacebuilder/SurfaceBui
|
|||
ARG 3 biome
|
||||
ARG 4 x
|
||||
ARG 5 z
|
||||
ARG 6 worldHeight
|
||||
ARG 6 height
|
||||
ARG 7 noise
|
||||
ARG 9 defaultBlock
|
||||
ARG 10 defaultFluid
|
||||
|
|
|
@ -33,6 +33,7 @@ CLASS net/minecraft/class_1942 net/minecraft/world/level/LevelGeneratorType
|
|||
METHOD method_8631 setCustomizable (Z)Lnet/minecraft/class_1942;
|
||||
ARG 1 customizable
|
||||
METHOD method_8632 getTypeForVersion (I)Lnet/minecraft/class_1942;
|
||||
ARG 1 version
|
||||
METHOD method_8633 setVisible (Z)Lnet/minecraft/class_1942;
|
||||
ARG 1 visible
|
||||
METHOD method_8634 setVersioned ()Lnet/minecraft/class_1942;
|
||||
|
|
Loading…
Reference in New Issue