diff --git a/mappings/net/minecraft/structure/StructureStart.mapping b/mappings/net/minecraft/structure/StructureStart.mapping index 269b9a970b..91cca483d7 100644 --- a/mappings/net/minecraft/structure/StructureStart.mapping +++ b/mappings/net/minecraft/structure/StructureStart.mapping @@ -13,6 +13,7 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart ARG 3 chunkZ ARG 4 box ARG 5 references + ARG 6 seed METHOD method_14962 getPos ()Lnet/minecraft/class_2338; METHOD method_14963 getChildren ()Ljava/util/List; METHOD method_14964 incrementReferences ()V @@ -26,6 +27,8 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart ARG 2 chunkZ METHOD method_14974 generateStructure (Lnet/minecraft/class_1936;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;)V ARG 1 world + ARG 4 box + ARG 5 pos METHOD method_14979 isInExistingChunk ()Z METHOD method_16655 initialize (Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;IILnet/minecraft/class_1959;)V ARG 1 chunkGenerator diff --git a/mappings/net/minecraft/util/math/BlockPos.mapping b/mappings/net/minecraft/util/math/BlockPos.mapping index 9ccd0c72cb..e33c0aa4c3 100644 --- a/mappings/net/minecraft/util/math/BlockPos.mapping +++ b/mappings/net/minecraft/util/math/BlockPos.mapping @@ -98,6 +98,7 @@ CLASS net/minecraft/class_2338 net/minecraft/util/math/BlockPos ARG 1 pos2 METHOD method_23627 stream (Lnet/minecraft/class_3341;)Ljava/util/stream/Stream; ARG 0 box + METHOD method_25503 mutableCopy ()Lnet/minecraft/class_2338$class_2339; CLASS 1 FIELD field_17676 connector Lnet/minecraft/class_3980; FIELD field_18231 position Lnet/minecraft/class_2338$class_2339; @@ -139,3 +140,10 @@ CLASS net/minecraft/class_2338 net/minecraft/util/math/BlockPos ARG 2 x ARG 3 y ARG 4 z + METHOD method_25504 setOffset (Lnet/minecraft/class_2382;III)Lnet/minecraft/class_2338$class_2339; + ARG 1 pos + ARG 2 x + ARG 3 y + ARG 4 z + METHOD method_25505 move (Lnet/minecraft/class_2382;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2338$class_2339; + ARG 1 pos diff --git a/mappings/net/minecraft/util/math/Vec3i.mapping b/mappings/net/minecraft/util/math/Vec3i.mapping index 9ba15251e9..4171af625e 100644 --- a/mappings/net/minecraft/util/math/Vec3i.mapping +++ b/mappings/net/minecraft/util/math/Vec3i.mapping @@ -12,6 +12,7 @@ CLASS net/minecraft/class_2382 net/minecraft/util/math/Vec3i ARG 2 y ARG 3 z METHOD method_10099 setY (I)V + ARG 1 y METHOD method_10259 crossProduct (Lnet/minecraft/class_2382;)Lnet/minecraft/class_2382; ARG 1 vec METHOD method_10260 getZ ()I @@ -36,8 +37,11 @@ CLASS net/minecraft/class_2382 net/minecraft/util/math/Vec3i ARG 1 vec ARG 2 distance METHOD method_20787 setX (I)V + ARG 1 x METHOD method_20788 setZ (I)V + ARG 1 z METHOD method_23226 offset (Lnet/minecraft/class_2350;I)Lnet/minecraft/class_2382; + ARG 2 distance METHOD method_23227 down (I)Lnet/minecraft/class_2382; METHOD method_23228 down ()Lnet/minecraft/class_2382; METHOD method_23854 toShortString ()Ljava/lang/String; diff --git a/mappings/net/minecraft/world/gen/feature/AbstractPileFeature.mapping b/mappings/net/minecraft/world/gen/feature/AbstractPileFeature.mapping index 8efb35b9a1..c502cc1512 100644 --- a/mappings/net/minecraft/world/gen/feature/AbstractPileFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/AbstractPileFeature.mapping @@ -5,3 +5,4 @@ CLASS net/minecraft/class_3805 net/minecraft/world/gen/feature/AbstractPileFeatu METHOD method_16708 addPileBlock (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Ljava/util/Random;Lnet/minecraft/class_4634;)V ARG 1 world ARG 2 pos + ARG 4 config diff --git a/mappings/net/minecraft/world/gen/feature/AbstractTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/AbstractTreeFeature.mapping index 46d68e8bb7..3924943b23 100644 --- a/mappings/net/minecraft/world/gen/feature/AbstractTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/AbstractTreeFeature.mapping @@ -1,22 +1,34 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/AbstractTreeFeature METHOD method_12773 setBlockState (Lnet/minecraft/class_1945;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3341;)V + ARG 1 world + ARG 2 pos + ARG 3 state + ARG 4 box METHOD method_12774 setBlockStateWithoutUpdatingNeighbors (Lnet/minecraft/class_1945;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V + ARG 1 world + ARG 2 pos + ARG 3 state 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 6 box ARG 7 config METHOD method_16416 isVine (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos + METHOD method_16417 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_16419 isNaturalDirt (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos METHOD method_16420 isAirOrLeaves (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos + METHOD method_16421 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_16422 isWater (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos @@ -26,25 +38,46 @@ CLASS net/minecraft/class_2944 net/minecraft/world/gen/feature/AbstractTreeFeatu METHOD method_16425 isReplaceablePlant (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos + METHOD method_16426 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_16427 setToDirt (Lnet/minecraft/class_3747;Lnet/minecraft/class_2338;)V ARG 1 world ARG 2 pos + METHOD method_16428 (Lnet/minecraft/class_2680;)Z + ARG 0 state + METHOD method_16429 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_16430 isNaturalDirtOrGrass (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos + METHOD method_16431 (Lnet/minecraft/class_2680;)Z + ARG 0 state METHOD method_16432 canTreeReplace (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos METHOD method_16433 isDirtOrGrass (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;)Z ARG 0 world ARG 1 pos + METHOD method_23380 placeLogsAndLeaves (Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;Ljava/util/Set;Ljava/util/Set;)Lnet/minecraft/class_251; + ARG 1 world + ARG 2 box + ARG 3 logs + ARG 4 leaves + METHOD method_23381 (Lnet/minecraft/class_1936;Ljava/util/Random;Ljava/util/List;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4662;)V + ARG 6 decorator 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 5 box 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 5 box ARG 6 config + METHOD method_23384 (Lnet/minecraft/class_2680;)Z + ARG 0 state + METHOD method_23385 (Lnet/minecraft/class_2680;)Z + ARG 0 state diff --git a/mappings/net/minecraft/world/gen/feature/BranchedTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/BranchedTreeFeature.mapping index 9aee4f55ec..c040f36463 100644 --- a/mappings/net/minecraft/world/gen/feature/BranchedTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/BranchedTreeFeature.mapping @@ -1,7 +1,9 @@ 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 2 baseHeight + ARG 3 trunkHeight + ARG 4 foliageRadius 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 @@ -11,4 +13,5 @@ CLASS net/minecraft/class_4626 net/minecraft/world/gen/feature/BranchedTreeFeatu ARG 4 pos ARG 5 trunkTopOffset ARG 6 logPositions + ARG 7 box ARG 8 config diff --git a/mappings/net/minecraft/world/gen/feature/BranchedTreeFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/BranchedTreeFeatureConfig.mapping index 7ef748fd4a..b3c0392014 100644 --- a/mappings/net/minecraft/world/gen/feature/BranchedTreeFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/BranchedTreeFeatureConfig.mapping @@ -8,7 +8,7 @@ CLASS net/minecraft/class_4640 net/minecraft/world/gen/feature/BranchedTreeFeatu FIELD field_21265 trunkTopOffsetRandom I FIELD field_21266 foliageHeight I FIELD field_21267 foliageHeightRandom I - FIELD field_21268 maxWaterDepth I + FIELD field_21268 maxFluidDepth I FIELD field_21269 noVines Z METHOD (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;Ljava/util/List;IIIIIIIIIIZ)V ARG 1 trunkProvider @@ -24,13 +24,14 @@ CLASS net/minecraft/class_4640 net/minecraft/world/gen/feature/BranchedTreeFeatu ARG 11 trunkTopOffsetRandom ARG 12 foliageHeight ARG 13 foliageHeightRandom - ARG 14 maxWaterDepth + ARG 14 maxFluidDepth ARG 15 noVines METHOD method_23426 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4640; ARG 0 dynamic CLASS class_4641 Builder FIELD field_21270 foliagePlacer Lnet/minecraft/class_4647; FIELD field_21271 treeDecorators Ljava/util/List; + FIELD field_21272 height I FIELD field_21273 heightRandA I FIELD field_21274 heightRandB I FIELD field_21275 trunkHeight I @@ -63,5 +64,5 @@ CLASS net/minecraft/class_4640 net/minecraft/world/gen/feature/BranchedTreeFeatu 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 + METHOD method_23439 maxFluidDepth (I)Lnet/minecraft/class_4640$class_4641; + ARG 1 maxFluidDepth diff --git a/mappings/net/minecraft/world/gen/feature/EndGatewayFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/EndGatewayFeatureConfig.mapping index 4dbb2b6c61..d91be9a053 100644 --- a/mappings/net/minecraft/world/gen/feature/EndGatewayFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/EndGatewayFeatureConfig.mapping @@ -8,6 +8,8 @@ CLASS net/minecraft/class_3018 net/minecraft/world/gen/feature/EndGatewayFeature METHOD method_13027 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3018; ARG 0 dynamic METHOD method_18030 createConfig ()Lnet/minecraft/class_3018; + METHOD method_18033 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_2338;)Ljava/lang/Object; + ARG 2 pos METHOD method_18034 createConfig (Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_3018; ARG 0 exitPortalPosition ARG 1 exitsAtSpawn diff --git a/mappings/net/minecraft/world/gen/feature/EndSpikeFeature.mapping b/mappings/net/minecraft/world/gen/feature/EndSpikeFeature.mapping index 6e93cd5c1c..893ae7eb5a 100644 --- a/mappings/net/minecraft/world/gen/feature/EndSpikeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/EndSpikeFeature.mapping @@ -1,6 +1,7 @@ CLASS net/minecraft/class_3310 net/minecraft/world/gen/feature/EndSpikeFeature FIELD field_14309 CACHE Lcom/google/common/cache/LoadingCache; METHOD method_14506 getSpikes (Lnet/minecraft/class_1936;)Ljava/util/List; + ARG 0 world METHOD method_15888 generateSpike (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)V ARG 1 world ARG 2 random @@ -28,4 +29,5 @@ CLASS net/minecraft/class_3310 net/minecraft/world/gen/feature/EndSpikeFeature METHOD method_15889 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3310$class_3181; ARG 0 dynamic METHOD method_16597 serialize (Lcom/mojang/datafixers/types/DynamicOps;)Lcom/mojang/datafixers/Dynamic; + ARG 1 ops CLASS class_3311 SpikeCache diff --git a/mappings/net/minecraft/world/gen/feature/Feature.mapping b/mappings/net/minecraft/world/gen/feature/Feature.mapping index cb2619e9b3..03333a8406 100644 --- a/mappings/net/minecraft/world/gen/feature/Feature.mapping +++ b/mappings/net/minecraft/world/gen/feature/Feature.mapping @@ -34,6 +34,8 @@ CLASS net/minecraft/class_3031 net/minecraft/world/gen/feature/Feature ARG 3 random ARG 4 pos ARG 5 config + METHOD method_13152 (Lcom/google/common/collect/HashBiMap;)V + ARG 0 map METHOD method_13153 setBlockState (Lnet/minecraft/class_1945;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V ARG 1 world ARG 2 pos diff --git a/mappings/net/minecraft/world/gen/feature/FlowerFeature.mapping b/mappings/net/minecraft/world/gen/feature/FlowerFeature.mapping index 187fa19f6e..0fe91abfec 100644 --- a/mappings/net/minecraft/world/gen/feature/FlowerFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/FlowerFeature.mapping @@ -1,2 +1,13 @@ CLASS net/minecraft/class_4624 net/minecraft/world/gen/feature/FlowerFeature - METHOD method_13175 getFlowerToPlace (Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)Lnet/minecraft/class_2680; + METHOD method_13175 getFlowerState (Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)Lnet/minecraft/class_2680; + ARG 2 pos + ARG 3 config + METHOD method_23369 isPosValid (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)Z + ARG 1 world + ARG 2 pos + ARG 3 config + METHOD method_23370 getFlowerAmount (Lnet/minecraft/class_3037;)I + ARG 1 config + METHOD method_23371 getPos (Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_3037;)Lnet/minecraft/class_2338; + ARG 2 pos + ARG 3 config diff --git a/mappings/net/minecraft/world/gen/feature/HugeFungusFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/HugeFungusFeatureConfig.mapping index 66c69a2715..393ad0f377 100644 --- a/mappings/net/minecraft/world/gen/feature/HugeFungusFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/HugeFungusFeatureConfig.mapping @@ -3,6 +3,15 @@ CLASS net/minecraft/class_4780 net/minecraft/world/gen/feature/HugeFungusFeature FIELD field_22192 hatState Lnet/minecraft/class_2680; FIELD field_22193 decorationState Lnet/minecraft/class_2680; FIELD field_22194 planted Z + FIELD field_22431 CRIMSON_FUNGUS_CONFIG Lnet/minecraft/class_4780; + FIELD field_22432 CRIMSON_FUNGUS_NOT_PLANTED_CONFIG Lnet/minecraft/class_4780; + FIELD field_22433 WARPED_FUNGUS_CONFIG Lnet/minecraft/class_4780; + FIELD field_22434 WARPED_FUNGUS_NOT_PLANTED_CONFIG Lnet/minecraft/class_4780; + FIELD field_22435 validBaseBlock Lnet/minecraft/class_2680; METHOD (Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)V - ARG 1 stemState + ARG 1 validBaseBlock + ARG 2 stemState + ARG 3 hatState + ARG 4 decorationState + ARG 5 planted METHOD method_24436 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4780; diff --git a/mappings/net/minecraft/world/gen/feature/HugeMushroomFeature.mapping b/mappings/net/minecraft/world/gen/feature/HugeMushroomFeature.mapping index 23d61ee0ab..4b2e230894 100644 --- a/mappings/net/minecraft/world/gen/feature/HugeMushroomFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/HugeMushroomFeature.mapping @@ -1,5 +1,21 @@ CLASS net/minecraft/class_4625 net/minecraft/world/gen/feature/HugeMushroomFeature - METHOD method_23375 generate (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)V + METHOD method_23372 getCapSize (IIII)I + ARG 3 capSize + ARG 4 y + METHOD method_23374 canGenerate (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)Z ARG 1 world - ARG 5 pos + ARG 2 pos + ARG 3 height + ARG 5 config + METHOD method_23375 generateCap (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;ILnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_4635;)V + ARG 1 world + ARG 3 start + ARG 4 y + ARG 5 mutable ARG 6 config + METHOD method_23376 generateStem (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4635;ILnet/minecraft/class_2338$class_2339;)V + ARG 1 world + ARG 3 pos + ARG 4 config + ARG 5 height + METHOD method_23377 getHeight (Ljava/util/Random;)I diff --git a/mappings/net/minecraft/world/gen/feature/LargeOakTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/LargeOakTreeFeature.mapping index a73a878c86..5aa38f0062 100644 --- a/mappings/net/minecraft/world/gen/feature/LargeOakTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/LargeOakTreeFeature.mapping @@ -1,36 +1,61 @@ CLASS net/minecraft/class_2948 net/minecraft/world/gen/feature/LargeOakTreeFeature METHOD method_12800 makeBranches (Lnet/minecraft/class_3747;Ljava/util/Random;ILnet/minecraft/class_2338;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V + ARG 1 world ARG 3 treeHeight ARG 4 treePosition ARG 5 branchPositions + ARG 7 box + ARG 8 config METHOD method_12801 isHighEnough (II)Z ARG 1 treeHeight ARG 2 height METHOD method_12802 makeLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;ILnet/minecraft/class_2338;Ljava/util/List;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V ARG 1 world + ARG 4 pos + ARG 7 box + ARG 8 config METHOD method_12803 getTreeHeight (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)I + ARG 1 world ARG 3 pos ARG 4 height + ARG 5 logs + ARG 6 box + ARG 7 config METHOD method_12804 getLeafRadiusForLayer (I)F METHOD method_12805 getLongestSide (Lnet/minecraft/class_2338;)I ARG 1 box METHOD method_12806 makeTrunk (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V + ARG 1 world ARG 3 pos ARG 4 height + ARG 6 box + ARG 7 config METHOD method_12807 getBaseBranchSize (II)F ARG 1 treeHeight ARG 2 branchCount METHOD method_12808 makeOrCheckBranch (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;ZLjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)I + ARG 1 world ARG 3 start ARG 4 end ARG 5 make + ARG 6 logs + ARG 8 config METHOD method_12809 getLogAxis (Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2350$class_2351; ARG 1 branchStart ARG 2 branchEnd METHOD method_12810 makeLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Ljava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V ARG 1 world + ARG 3 pos + ARG 4 leaves + ARG 5 box + ARG 6 config METHOD method_12811 makeLeafLayer (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;FLjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4640;)V - CLASS class_2949 BranchPosition + ARG 1 world + ARG 3 pos + ARG 5 leaves + ARG 6 box + ARG 7 config + CLASS class_2949 BranchPos FIELD field_13344 endY I METHOD (Lnet/minecraft/class_2338;I)V ARG 1 pos diff --git a/mappings/net/minecraft/world/gen/feature/MegaJungleTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/MegaJungleTreeFeature.mapping index b69d6a8f64..75546b2da2 100644 --- a/mappings/net/minecraft/world/gen/feature/MegaJungleTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/MegaJungleTreeFeature.mapping @@ -1,3 +1,7 @@ CLASS net/minecraft/class_3092 net/minecraft/world/gen/feature/MegaJungleTreeFeature METHOD method_13506 makeLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)V ARG 1 world + ARG 3 pos + ARG 5 leaves + ARG 6 box + ARG 7 config diff --git a/mappings/net/minecraft/world/gen/feature/MegaPineTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/MegaPineTreeFeature.mapping index 10f9b8e2c4..b7c351646d 100644 --- a/mappings/net/minecraft/world/gen/feature/MegaPineTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/MegaPineTreeFeature.mapping @@ -1,2 +1,10 @@ CLASS net/minecraft/class_3090 net/minecraft/world/gen/feature/MegaPineTreeFeature METHOD method_13495 makeTopLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;IIIILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4636;)V + ARG 1 world + ARG 3 x + ARG 4 z + ARG 5 height + ARG 6 radius + ARG 7 leaves + ARG 8 box + ARG 9 config diff --git a/mappings/net/minecraft/world/gen/feature/MegaTreeFeature.mapping b/mappings/net/minecraft/world/gen/feature/MegaTreeFeature.mapping index cdf1c6225e..5f9bf98789 100644 --- a/mappings/net/minecraft/world/gen/feature/MegaTreeFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/MegaTreeFeature.mapping @@ -4,12 +4,32 @@ CLASS net/minecraft/class_3096 net/minecraft/world/gen/feature/MegaTreeFeature ARG 2 pos ARG 3 height METHOD method_13524 getHeight (Ljava/util/Random;Lnet/minecraft/class_4636;)I + ARG 2 config METHOD method_13525 replaceGround (Lnet/minecraft/class_3747;Lnet/minecraft/class_2338;)Z ARG 1 world ARG 2 pos METHOD method_13526 makeRoundLeafLayer (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)V + ARG 1 world + ARG 3 pos + ARG 4 radius + ARG 5 leaves + ARG 6 box + ARG 7 config METHOD method_13527 doesTreeFit (Lnet/minecraft/class_3746;Lnet/minecraft/class_2338;I)Z ARG 1 world ARG 2 pos ARG 3 height METHOD method_13528 makeSquaredLeafLayer (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4643;)V + ARG 1 world + ARG 3 pos + ARG 4 radius + ARG 5 leaves + ARG 6 box + ARG 7 config + METHOD method_23400 generateTrunk (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;ILjava/util/Set;Lnet/minecraft/class_3341;Lnet/minecraft/class_4636;)V + ARG 1 world + ARG 3 pos + ARG 4 height + ARG 5 logs + ARG 6 box + ARG 7 config diff --git a/mappings/net/minecraft/world/gen/feature/MegaTreeFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/MegaTreeFeatureConfig.mapping index 7aa9704350..cbdb92c6c5 100644 --- a/mappings/net/minecraft/world/gen/feature/MegaTreeFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/MegaTreeFeatureConfig.mapping @@ -2,13 +2,20 @@ CLASS net/minecraft/class_4636 net/minecraft/world/gen/feature/MegaTreeFeatureCo FIELD field_21233 heightInterval I FIELD field_21591 crownHeight I METHOD (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Ljava/util/List;III)V + ARG 1 trunkProvider + ARG 2 leavesProvider + ARG 3 decorators + ARG 4 baseHeight ARG 5 heightInterval ARG 6 crownHeight METHOD method_23408 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4636; CLASS class_4637 Builder + FIELD field_21234 treeDecorators Ljava/util/List; + FIELD field_21235 height I FIELD field_21236 heightInterval I FIELD field_21592 crownHeight I METHOD method_23411 treeDecorators (Ljava/util/List;)Lnet/minecraft/class_4636$class_4637; + ARG 1 decorators 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; diff --git a/mappings/net/minecraft/world/gen/feature/RandomBooleanFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/RandomBooleanFeatureConfig.mapping index 195b7d3e55..26cb1e2b41 100644 --- a/mappings/net/minecraft/world/gen/feature/RandomBooleanFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/RandomBooleanFeatureConfig.mapping @@ -1,5 +1,8 @@ CLASS net/minecraft/class_3137 net/minecraft/world/gen/feature/RandomBooleanFeatureConfig FIELD field_13739 featureFalse Lnet/minecraft/class_2975; FIELD field_13740 featureTrue Lnet/minecraft/class_2975; + METHOD (Lnet/minecraft/class_2975;Lnet/minecraft/class_2975;)V + ARG 1 featureTrue + ARG 2 featureFalse METHOD method_13687 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3137; ARG 0 dynamic diff --git a/mappings/net/minecraft/world/gen/feature/RandomFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/RandomFeatureConfig.mapping index 9e787a501b..3ddb082d85 100644 --- a/mappings/net/minecraft/world/gen/feature/RandomFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/RandomFeatureConfig.mapping @@ -1,5 +1,10 @@ CLASS net/minecraft/class_3141 net/minecraft/world/gen/feature/RandomFeatureConfig FIELD field_13744 features Ljava/util/List; FIELD field_13745 defaultFeature Lnet/minecraft/class_2975; + METHOD (Ljava/util/List;Lnet/minecraft/class_2975;)V + ARG 1 features + ARG 2 defaultFeature METHOD method_13709 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3141; ARG 0 dynamic + METHOD method_16590 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_3226;)Ljava/lang/Object; + ARG 1 feature diff --git a/mappings/net/minecraft/world/gen/feature/RandomFeatureEntry.mapping b/mappings/net/minecraft/world/gen/feature/RandomFeatureEntry.mapping index 3e2c2f8e04..82374706ee 100644 --- a/mappings/net/minecraft/world/gen/feature/RandomFeatureEntry.mapping +++ b/mappings/net/minecraft/world/gen/feature/RandomFeatureEntry.mapping @@ -9,4 +9,6 @@ CLASS net/minecraft/class_3226 net/minecraft/world/gen/feature/RandomFeatureEntr METHOD method_14271 generate (Lnet/minecraft/class_1936;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_2338;)Z ARG 1 world ARG 3 random + ARG 4 pos METHOD method_16599 serialize (Lcom/mojang/datafixers/types/DynamicOps;)Lcom/mojang/datafixers/Dynamic; + ARG 1 dynamic diff --git a/mappings/net/minecraft/world/gen/feature/RandomRandomFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/RandomRandomFeatureConfig.mapping index a86033644e..79bb2bdcd9 100644 --- a/mappings/net/minecraft/world/gen/feature/RandomRandomFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/RandomRandomFeatureConfig.mapping @@ -1,5 +1,8 @@ CLASS net/minecraft/class_3147 net/minecraft/world/gen/feature/RandomRandomFeatureConfig FIELD field_13761 features Ljava/util/List; FIELD field_13762 count I + METHOD (Ljava/util/List;I)V + ARG 1 features + ARG 2 count METHOD method_13780 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3147; ARG 0 dynamic diff --git a/mappings/net/minecraft/world/gen/feature/SimpleBlockFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/SimpleBlockFeatureConfig.mapping index b2466f136e..e877ef167f 100644 --- a/mappings/net/minecraft/world/gen/feature/SimpleBlockFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/SimpleBlockFeatureConfig.mapping @@ -15,3 +15,9 @@ CLASS net/minecraft/class_3175 net/minecraft/world/gen/feature/SimpleBlockFeatur ARG 4 placeUnder METHOD method_13939 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3175; ARG 0 dynamic + METHOD method_16592 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_2680;)Ljava/lang/Object; + ARG 1 state + METHOD method_16593 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_2680;)Ljava/lang/Object; + ARG 1 state + METHOD method_16594 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_2680;)Ljava/lang/Object; + ARG 1 state diff --git a/mappings/net/minecraft/world/gen/feature/SimpleRandomFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/SimpleRandomFeatureConfig.mapping index 4fd69bf50a..3b169bb745 100644 --- a/mappings/net/minecraft/world/gen/feature/SimpleRandomFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/SimpleRandomFeatureConfig.mapping @@ -1,4 +1,8 @@ CLASS net/minecraft/class_3179 net/minecraft/world/gen/feature/SimpleRandomFeatureConfig FIELD field_13827 features Ljava/util/List; + METHOD (Ljava/util/List;)V + ARG 1 features METHOD method_13957 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3179; ARG 0 dynamic + METHOD method_16595 (Lcom/mojang/datafixers/types/DynamicOps;Lnet/minecraft/class_2975;)Ljava/lang/Object; + ARG 1 feature diff --git a/mappings/net/minecraft/world/gen/feature/StructureFeature.mapping b/mappings/net/minecraft/world/gen/feature/StructureFeature.mapping index 6fe14a5e63..7b66ebcaaa 100644 --- a/mappings/net/minecraft/world/gen/feature/StructureFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/StructureFeature.mapping @@ -12,15 +12,21 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature METHOD method_14019 getName ()Ljava/lang/String; METHOD method_14021 getRadius ()I METHOD method_14023 isApproximatelyInsideStructure (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z + ARG 1 world + ARG 2 pos METHOD method_14024 isInsideStructure (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z + ARG 1 world + ARG 2 pos METHOD method_14025 isInsideStructure (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_3449; ARG 1 world ARG 2 pos ARG 3 exact METHOD method_14026 shouldStartAt (Lnet/minecraft/class_4543;Lnet/minecraft/class_2794;Ljava/util/Random;IILnet/minecraft/class_1959;)Z - ARG 4 chunkZ + ARG 4 chunkX + ARG 5 chunkZ CLASS class_3774 StructureStartFactory METHOD create (Lnet/minecraft/class_3195;IILnet/minecraft/class_3341;IJ)Lnet/minecraft/class_3449; ARG 1 feature ARG 2 x ARG 3 z + ARG 4 box diff --git a/mappings/net/minecraft/world/gen/feature/SwampHutFeature.mapping b/mappings/net/minecraft/world/gen/feature/SwampHutFeature.mapping index 84772e0c04..71c704b3b7 100644 --- a/mappings/net/minecraft/world/gen/feature/SwampHutFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/SwampHutFeature.mapping @@ -1,4 +1,7 @@ CLASS net/minecraft/class_3197 net/minecraft/world/gen/feature/SwampHutFeature FIELD field_13882 MONSTER_SPAWNS Ljava/util/List; FIELD field_16435 CREATURE_SPAWNS Ljava/util/List; + METHOD method_14029 (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z + ARG 1 world + ARG 2 pos CLASS class_3198 Start diff --git a/mappings/net/minecraft/world/gen/feature/TreeFeatureConfig.mapping b/mappings/net/minecraft/world/gen/feature/TreeFeatureConfig.mapping index 15e660cfd8..49736578d4 100644 --- a/mappings/net/minecraft/world/gen/feature/TreeFeatureConfig.mapping +++ b/mappings/net/minecraft/world/gen/feature/TreeFeatureConfig.mapping @@ -3,6 +3,7 @@ CLASS net/minecraft/class_4643 net/minecraft/world/gen/feature/TreeFeatureConfig FIELD field_21289 leavesProvider Lnet/minecraft/class_4651; FIELD field_21290 decorators Ljava/util/List; FIELD field_21291 baseHeight I + FIELD field_21593 skipFluidCheck Z METHOD (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Ljava/util/List;I)V ARG 1 trunkProvider ARG 2 leavesProvider @@ -10,6 +11,7 @@ CLASS net/minecraft/class_4643 net/minecraft/world/gen/feature/TreeFeatureConfig ARG 4 baseHeight METHOD method_23444 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4643; ARG 0 configDeserializer + METHOD method_23916 ignoreFluidCheck ()V CLASS class_4644 Builder FIELD field_21292 trunkProvider Lnet/minecraft/class_4651; FIELD field_21293 leavesProvider Lnet/minecraft/class_4651; diff --git a/mappings/net/minecraft/world/gen/feature/VoidStartPlatformFeature.mapping b/mappings/net/minecraft/world/gen/feature/VoidStartPlatformFeature.mapping index 84f1d48eea..628283003c 100644 --- a/mappings/net/minecraft/world/gen/feature/VoidStartPlatformFeature.mapping +++ b/mappings/net/minecraft/world/gen/feature/VoidStartPlatformFeature.mapping @@ -1 +1,8 @@ CLASS net/minecraft/class_3217 net/minecraft/world/gen/feature/VoidStartPlatformFeature + FIELD field_19241 START_BLOCK Lnet/minecraft/class_2338; + FIELD field_19242 START_CHUNK Lnet/minecraft/class_1923; + METHOD method_20403 getDistance (IIII)I + ARG 0 x1 + ARG 1 z1 + ARG 2 x2 + ARG 3 z2 diff --git a/mappings/net/minecraft/world/gen/foliage/FoliagePlacer.mapping b/mappings/net/minecraft/world/gen/foliage/FoliagePlacer.mapping index 26d49d2be0..2db90fda92 100644 --- a/mappings/net/minecraft/world/gen/foliage/FoliagePlacer.mapping +++ b/mappings/net/minecraft/world/gen/foliage/FoliagePlacer.mapping @@ -6,11 +6,52 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer ARG 1 radius ARG 2 randomRadius ARG 3 type + METHOD method_23447 getRadiusForPlacement (IIII)I + COMMENT This method is used to ensure that a tree can place foliage when it generates. + COMMENT + COMMENT

It runs for every y-level of the tree being generated. + ARG 1 trunkHeight + COMMENT the height of the trunk + ARG 2 baseHeight + COMMENT the height of the full tree + ARG 3 radius + COMMENT the radius of the foliage + ARG 4 currentTreeHeight + COMMENT the current y-level of the tree being tested. METHOD method_23448 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;IIILnet/minecraft/class_2338;Ljava/util/Set;)V + COMMENT This is the main method used to generate foliage. ARG 1 world ARG 3 config + ARG 4 baseHeight + COMMENT the height of the full tree + ARG 5 trunkHeight + COMMENT the height of just the trunk, or the part of the tree without leaves + ARG 6 radius + COMMENT the radius of the foliage ARG 7 pos - ARG 8 positions + ARG 8 leaves METHOD method_23449 generate (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_4640;ILnet/minecraft/class_2338;IILjava/util/Set;)V - METHOD method_23452 getRadius (Ljava/util/Random;IILnet/minecraft/class_4640;)I + ARG 1 world + ARG 2 random + ARG 3 config + ARG 4 baseHeight + ARG 5 pos + ARG 6 y + ARG 7 radius + ARG 8 leaves + METHOD method_23450 placeLeaves (Lnet/minecraft/class_3747;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_4640;Ljava/util/Set;)V + ARG 1 world + ARG 2 random + ARG 3 pos + ARG 4 config + ARG 5 leaves + METHOD method_23451 isInvalidForLeaves (Ljava/util/Random;IIIII)Z + ARG 2 baseHeight + ARG 3 x + ARG 4 y + ARG 5 z + ARG 6 radius + METHOD method_23452 getRadius (Ljava/util/Random;IILnet/minecraft/class_4640;)I + ARG 2 baseHeight + ARG 3 trunkHeight ARG 4 config