mirror of https://github.com/FabricMC/yarn.git
lots of world gen mappings (#924)
* lots of world gen mappings * some changes * move state providers to a new package
This commit is contained in:
parent
37a5f80d32
commit
47a4de08b2
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4634
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4635
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4636
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4638
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4640
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4642
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4643
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4653
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4654
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4655
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4656
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_4657
|
|
@ -11,3 +11,4 @@ CLASS net/minecraft/class_4131 net/minecraft/util/WeightedList
|
|||
METHOD method_19029 shuffle ()Lnet/minecraft/class_4131;
|
||||
METHOD method_19031 add (Ljava/lang/Object;I)Lnet/minecraft/class_4131;
|
||||
METHOD method_19032 stream ()Ljava/util/stream/Stream;
|
||||
METHOD method_23337 pickRandom (Ljava/util/Random;)Ljava/lang/Object;
|
||||
|
|
|
@ -22,7 +22,7 @@ CLASS net/minecraft/class_2350 net/minecraft/util/math/Direction
|
|||
METHOD method_10178 isVertical ()Z
|
||||
METHOD method_10179 isHorizontal ()Z
|
||||
METHOD method_10180 getType ()Lnet/minecraft/class_2350$class_2353;
|
||||
METHOD method_16699 (Ljava/util/Random;)Lnet/minecraft/class_2350$class_2351;
|
||||
METHOD method_16699 pickRandomAxis (Ljava/util/Random;)Lnet/minecraft/class_2350$class_2351;
|
||||
ARG 0 random
|
||||
CLASS class_2352 AxisDirection
|
||||
FIELD field_11057 desc Ljava/lang/String;
|
||||
|
|
|
@ -1,4 +1,68 @@
|
|||
CLASS net/minecraft/class_3864 net/minecraft/world/biome/DefaultBiomeFeatures
|
||||
FIELD field_21114 IRON_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21115 GOLD_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21116 REDSTONE_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21117 DIAMOND_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21118 LAPIS_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21119 STONE Lnet/minecraft/class_2680;
|
||||
FIELD field_21120 EMERALD_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21121 INFESTED_STONE Lnet/minecraft/class_2680;
|
||||
FIELD field_21122 SAND Lnet/minecraft/class_2680;
|
||||
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_21127 LARGE_FERN Lnet/minecraft/class_2680;
|
||||
FIELD field_21128 TALL_GRASS Lnet/minecraft/class_2680;
|
||||
FIELD field_21129 LILAC Lnet/minecraft/class_2680;
|
||||
FIELD field_21130 ROSE_BUSH Lnet/minecraft/class_2680;
|
||||
FIELD field_21131 PEONY Lnet/minecraft/class_2680;
|
||||
FIELD field_21132 BROWN_MUSHROOM Lnet/minecraft/class_2680;
|
||||
FIELD field_21133 RED_MUSHROOM Lnet/minecraft/class_2680;
|
||||
FIELD field_21134 SEAGRASS Lnet/minecraft/class_2680;
|
||||
FIELD field_21135 PACKED_ICE Lnet/minecraft/class_2680;
|
||||
FIELD field_21136 BLUE_ICE Lnet/minecraft/class_2680;
|
||||
FIELD field_21137 LILY_OF_THE_VALLEY Lnet/minecraft/class_2680;
|
||||
FIELD field_21138 BLUE_ORCHID Lnet/minecraft/class_2680;
|
||||
FIELD field_21139 POPPY Lnet/minecraft/class_2680;
|
||||
FIELD field_21140 DANDELION Lnet/minecraft/class_2680;
|
||||
FIELD field_21144 GRASS Lnet/minecraft/class_2680;
|
||||
FIELD field_21145 FERN Lnet/minecraft/class_2680;
|
||||
FIELD field_21146 PODZOL Lnet/minecraft/class_2680;
|
||||
FIELD field_21147 OAK_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21148 OAK_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21149 JUNGLE_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21150 JUNGLE_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21151 SPRUCE_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21152 SPRUCE_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21153 ACACIA_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21154 ACACIA_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21155 BIRCH_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21156 BIRCH_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21157 DARK_OAK_LOG Lnet/minecraft/class_2680;
|
||||
FIELD field_21158 DARK_OAK_LEAVES Lnet/minecraft/class_2680;
|
||||
FIELD field_21159 WATER Lnet/minecraft/class_2680;
|
||||
FIELD field_21160 LAVA Lnet/minecraft/class_2680;
|
||||
FIELD field_21161 DIRT Lnet/minecraft/class_2680;
|
||||
FIELD field_21162 GRAVEL Lnet/minecraft/class_2680;
|
||||
FIELD field_21163 GRANITE Lnet/minecraft/class_2680;
|
||||
FIELD field_21164 DIORITE Lnet/minecraft/class_2680;
|
||||
FIELD field_21165 ANDESITE Lnet/minecraft/class_2680;
|
||||
FIELD field_21166 COAL_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_21168 DEAD_BUSH Lnet/minecraft/class_2680;
|
||||
FIELD field_21169 MELON Lnet/minecraft/class_2680;
|
||||
FIELD field_21170 PUMPKIN Lnet/minecraft/class_2680;
|
||||
FIELD field_21171 SWEET_BERRY_BUSH Lnet/minecraft/class_2680;
|
||||
FIELD field_21172 FIRE Lnet/minecraft/class_2680;
|
||||
FIELD field_21173 NETHERRACK Lnet/minecraft/class_2680;
|
||||
FIELD field_21174 LILY_PAD Lnet/minecraft/class_2680;
|
||||
FIELD field_21175 SNOW Lnet/minecraft/class_2680;
|
||||
FIELD field_21176 JACK_O_LANTERN Lnet/minecraft/class_2680;
|
||||
FIELD field_21177 SUNFLOWER Lnet/minecraft/class_2680;
|
||||
FIELD field_21178 CACTUS Lnet/minecraft/class_2680;
|
||||
FIELD field_21179 SUGAR_CANE Lnet/minecraft/class_2680;
|
||||
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;
|
||||
METHOD method_16957 addMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
ARG 0 biome
|
||||
METHOD method_16958 addExtraMountainTrees (Lnet/minecraft/class_1959;)V
|
||||
|
|
|
@ -18,3 +18,4 @@ CLASS net/minecraft/class_3284 net/minecraft/world/gen/decorator/Decorator
|
|||
ARG 3 random
|
||||
ARG 4 pos
|
||||
ARG 5 decoratorConfig
|
||||
METHOD method_23475 configure (Lnet/minecraft/class_2998;)Lnet/minecraft/class_3243;
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
CLASS net/minecraft/class_4643 net/minecraft/world/gen/feature/AbstractTreeFeatureConfig
|
||||
CLASS class_4644 Builder
|
||||
FIELD field_21292 trunkProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21293 leavesProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21294 decorators Ljava/util/List;
|
||||
FIELD field_21295 baseHeight I
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
METHOD method_23445 build ()Lnet/minecraft/class_4643;
|
||||
METHOD method_23446 baseHeight (I)Lnet/minecraft/class_4643$class_4644;
|
||||
ARG 1 baseHeight
|
||||
FIELD field_21288 trunkProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21289 leavesProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21290 decorators Ljava/util/List;
|
||||
FIELD field_21291 baseHeight I
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Ljava/util/List;I)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
ARG 3 decorators
|
||||
ARG 4 baseHeight
|
||||
METHOD method_23444 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4643;
|
||||
ARG 0 configDeserializer
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_4634 net/minecraft/world/gen/feature/BlockPileFeatureConfig
|
|
@ -14,3 +14,4 @@ CLASS net/minecraft/class_2975 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
ARG 3 random
|
||||
METHOD method_16584 serialize (Lcom/mojang/datafixers/types/DynamicOps;)Lcom/mojang/datafixers/Dynamic;
|
||||
ARG 1 ops
|
||||
METHOD method_23388 createDecoratedFeature (Lnet/minecraft/class_3243;)Lnet/minecraft/class_2975;
|
||||
|
|
|
@ -18,6 +18,7 @@ CLASS net/minecraft/class_3031 net/minecraft/world/gen/feature/Feature
|
|||
FIELD field_13589 SHIPWRECK Lnet/minecraft/class_3195;
|
||||
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;
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD method_13148 deserializeConfig (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_3037;
|
||||
|
@ -37,3 +38,5 @@ 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_23397 configure (Lnet/minecraft/class_3037;)Lnet/minecraft/class_2975;
|
||||
ARG 1 config
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
CLASS net/minecraft/class_4624
|
||||
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;
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_4638 net/minecraft/world/gen/feature/FlowerFeatureConfig
|
|
@ -0,0 +1,3 @@
|
|||
CLASS net/minecraft/class_4635 net/minecraft/world/gen/feature/HugeMushroomFeatureConfig
|
||||
FIELD field_21230 capProvider Lnet/minecraft/class_4651;
|
||||
FIELD field_21231 stemProvider Lnet/minecraft/class_4651;
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_4636 net/minecraft/world/gen/feature/MegaTreeFeatureConfig
|
|
@ -0,0 +1,20 @@
|
|||
CLASS net/minecraft/class_4640 net/minecraft/world/gen/feature/NormalTreeFeatureConfig
|
||||
CLASS class_4641 Builder
|
||||
FIELD field_21271 treeDecorators Ljava/util/List;
|
||||
METHOD <init> (Lnet/minecraft/class_4651;Lnet/minecraft/class_4651;Lnet/minecraft/class_4647;)V
|
||||
ARG 1 trunkProvider
|
||||
ARG 2 leavesProvider
|
||||
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
|
||||
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 6 heightRandA
|
||||
ARG 7 heightRandB
|
||||
ARG 8 trunkHeight
|
||||
ARG 9 trunkHeightRandom
|
||||
ARG 10 trunkTopOffsetRandom
|
|
@ -0,0 +1 @@
|
|||
CLASS net/minecraft/class_4642 net/minecraft/world/gen/feature/SpringFeatureConfig
|
|
@ -0,0 +1,6 @@
|
|||
CLASS net/minecraft/class_4655 net/minecraft/world/gen/stateprovider/BlockStateProvider
|
||||
FIELD field_21313 block Lnet/minecraft/class_2248;
|
||||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD <init> (Lnet/minecraft/class_2248;)V
|
||||
ARG 1 block
|
|
@ -0,0 +1,4 @@
|
|||
CLASS net/minecraft/class_4653 net/minecraft/world/gen/stateprovider/ForestFlowerStateProvider
|
||||
FIELD field_21310 flowers [Lnet/minecraft/class_2680;
|
||||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V
|
||||
ARG 1 configDeserializer
|
|
@ -0,0 +1,5 @@
|
|||
CLASS net/minecraft/class_4654 net/minecraft/world/gen/stateprovider/PlainFlowerStateProvider
|
||||
FIELD field_21311 tulips [Lnet/minecraft/class_2680;
|
||||
FIELD field_21312 flowers [Lnet/minecraft/class_2680;
|
||||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V
|
||||
ARG 1 configDeserializer
|
|
@ -0,0 +1,6 @@
|
|||
CLASS net/minecraft/class_4656 net/minecraft/world/gen/stateprovider/SimpleStateProvider
|
||||
FIELD field_21314 state Lnet/minecraft/class_2680;
|
||||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD <init> (Lnet/minecraft/class_2680;)V
|
||||
ARG 1 state
|
|
@ -0,0 +1,7 @@
|
|||
CLASS net/minecraft/class_4651 net/minecraft/world/gen/stateprovider/StateProvider
|
||||
FIELD field_21304 stateProvider Lnet/minecraft/class_4652;
|
||||
METHOD <init> (Lnet/minecraft/class_4652;)V
|
||||
ARG 1 stateProvider
|
||||
METHOD method_23455 getBlockState (Ljava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
|
||||
ARG 1 random
|
||||
ARG 2 pos
|
|
@ -0,0 +1,9 @@
|
|||
CLASS net/minecraft/class_4652 net/minecraft/world/gen/stateprovider/StateProviderType
|
||||
FIELD field_21309 configDeserializer Ljava/util/function/Function;
|
||||
METHOD <init> (Ljava/util/function/Function;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD method_23456 deserialize (Lcom/mojang/datafixers/Dynamic;)Lnet/minecraft/class_4651;
|
||||
ARG 1 dynamic
|
||||
METHOD method_23457 register (Ljava/lang/String;Ljava/util/function/Function;)Lnet/minecraft/class_4652;
|
||||
ARG 0 id
|
||||
ARG 1 configDeserializer
|
|
@ -0,0 +1,9 @@
|
|||
CLASS net/minecraft/class_4657 net/minecraft/world/gen/stateprovider/WeightedStateProvider
|
||||
FIELD field_21315 states Lnet/minecraft/class_4131;
|
||||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V
|
||||
ARG 1 configDeserializer
|
||||
METHOD <init> (Lnet/minecraft/class_4131;)V
|
||||
ARG 1 states
|
||||
METHOD method_23458 addState (Lnet/minecraft/class_2680;I)Lnet/minecraft/class_4657;
|
||||
ARG 1 state
|
||||
ARG 2 weight
|
Loading…
Reference in New Issue