mirror of https://github.com/FabricMC/yarn.git
World generation mappings (#2150)
* World generation mappings * Fixed parameters in IcebergFeature * Used suggestion and mapped more things * heightLimitView -> world Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
330aeee0fb
commit
87ebde22cc
|
@ -15,15 +15,21 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
FIELD field_16713 DEFAULT Lnet/minecraft/class_3449;
|
||||
FIELD field_16714 feature Lnet/minecraft/class_3195;
|
||||
FIELD field_16715 random Lnet/minecraft/class_2919;
|
||||
FIELD field_29070 pos Lnet/minecraft/class_1923;
|
||||
METHOD <init> (Lnet/minecraft/class_3195;Lnet/minecraft/class_1923;Lnet/minecraft/class_3341;IJ)V
|
||||
ARG 1 feature
|
||||
METHOD method_14962 getPos ()Lnet/minecraft/class_2338;
|
||||
ARG 2 pos
|
||||
ARG 3 box
|
||||
ARG 4 references
|
||||
ARG 5 worldSeed
|
||||
METHOD method_14962 getBlockPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_14963 getChildren ()Ljava/util/List;
|
||||
METHOD method_14964 incrementReferences ()V
|
||||
METHOD method_14968 getBoundingBox ()Lnet/minecraft/class_3341;
|
||||
METHOD method_14969 setBoundingBoxFromChildren ()V
|
||||
METHOD method_14970 getReferenceCountToBeInExistingChunk ()I
|
||||
METHOD method_14972 toNbt (Lnet/minecraft/class_3218;Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
|
||||
ARG 1 world
|
||||
METHOD method_14974 generateStructure (Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;)V
|
||||
ARG 1 world
|
||||
ARG 2 structureAccessor
|
||||
|
@ -42,6 +48,11 @@ CLASS net/minecraft/class_3449 net/minecraft/structure/StructureStart
|
|||
ARG 1 registryManager
|
||||
ARG 2 chunkGenerator
|
||||
ARG 3 manager
|
||||
ARG 4 pos
|
||||
ARG 5 biome
|
||||
ARG 6 config
|
||||
ARG 7 world
|
||||
METHOD method_16656 getFeature ()Lnet/minecraft/class_3195;
|
||||
METHOD method_16657 hasChildren ()Z
|
||||
METHOD method_23676 getReferences ()I
|
||||
METHOD method_34000 getPos ()Lnet/minecraft/class_1923;
|
||||
|
|
|
@ -38,9 +38,17 @@ CLASS net/minecraft/class_5285 net/minecraft/world/gen/GeneratorOptions
|
|||
ARG 0 biomeRegistry
|
||||
ARG 1 chunkGeneratorSettingsRegistry
|
||||
ARG 2 seed
|
||||
METHOD method_28608 getRegistryWithReplacedOverworldGenerator (Lnet/minecraft/class_2378;Lnet/minecraft/class_2370;Lnet/minecraft/class_2794;)Lnet/minecraft/class_2370;
|
||||
ARG 0 dimensionTypeRegistry
|
||||
ARG 1 optionsRegistry
|
||||
ARG 2 overworldGenerator
|
||||
METHOD method_28609 getDimensions ()Lnet/minecraft/class_2370;
|
||||
METHOD method_28610 validate ()Lcom/mojang/serialization/DataResult;
|
||||
METHOD method_28611 isStable ()Z
|
||||
METHOD method_29575 getWorlds ()Lcom/google/common/collect/ImmutableSet;
|
||||
METHOD method_29962 getRegistryWithReplacedOverworld (Lnet/minecraft/class_2370;Ljava/util/function/Supplier;Lnet/minecraft/class_2794;)Lnet/minecraft/class_2370;
|
||||
ARG 0 optionsRegistry
|
||||
ARG 1 overworldDimensionType
|
||||
ARG 2 overworldGenerator
|
||||
METHOD method_31112 createDemo (Lnet/minecraft/class_5455;)Lnet/minecraft/class_5285;
|
||||
ARG 0 registryManager
|
||||
|
|
|
@ -34,3 +34,8 @@ CLASS net/minecraft/class_3232 net/minecraft/world/gen/chunk/FlatChunkGeneratorC
|
|||
ARG 1 structuresConfig
|
||||
METHOD method_28916 enableLakes ()V
|
||||
METHOD method_28917 createBiome ()Lnet/minecraft/class_1959;
|
||||
METHOD method_29965 withLayers (Ljava/util/List;Lnet/minecraft/class_5311;)Lnet/minecraft/class_3232;
|
||||
ARG 1 layers
|
||||
ARG 2 structuresConfig
|
||||
METHOD method_33067 checkHeight (Lnet/minecraft/class_3232;)Lcom/mojang/serialization/DataResult;
|
||||
ARG 0 config
|
||||
|
|
|
@ -1 +1 @@
|
|||
CLASS net/minecraft/class_5935 net/minecraft/world/gen/decorator/WaterThresholdDecorator
|
||||
CLASS net/minecraft/class_5935 net/minecraft/world/gen/decorator/WaterDepthThresholdDecorator
|
|
@ -1,4 +1,4 @@
|
|||
CLASS net/minecraft/class_5934 net/minecraft/world/gen/decorator/WaterThresholdDecoratorConfig
|
||||
CLASS net/minecraft/class_5934 net/minecraft/world/gen/decorator/WaterDepthThresholdDecoratorConfig
|
||||
FIELD field_29323 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_29324 maxWaterDepth I
|
||||
METHOD <init> (I)V
|
|
@ -1,2 +1,25 @@
|
|||
CLASS net/minecraft/class_5153 net/minecraft/world/gen/feature/BasaltColumnsFeature
|
||||
FIELD field_24132 BLOCKS Lcom/google/common/collect/ImmutableList;
|
||||
METHOD method_27094 moveDownToGround (Lnet/minecraft/class_1936;ILnet/minecraft/class_2338$class_2339;I)Lnet/minecraft/class_2338;
|
||||
ARG 0 world
|
||||
ARG 1 seaLevel
|
||||
ARG 2 mutablePos
|
||||
ARG 3 distance
|
||||
METHOD method_27095 isAirOrLavaOcean (Lnet/minecraft/class_1936;ILnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 seaLevel
|
||||
ARG 2 pos
|
||||
METHOD method_27096 placeBasaltColumn (Lnet/minecraft/class_1936;ILnet/minecraft/class_2338;II)Z
|
||||
ARG 1 world
|
||||
ARG 2 seaLevel
|
||||
ARG 3 pos
|
||||
ARG 4 height
|
||||
ARG 5 reach
|
||||
METHOD method_27098 moveUpToAir (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338$class_2339;I)Lnet/minecraft/class_2338;
|
||||
ARG 0 world
|
||||
ARG 1 mutablePos
|
||||
ARG 2 distance
|
||||
METHOD method_30379 canPlaceAt (Lnet/minecraft/class_1936;ILnet/minecraft/class_2338$class_2339;)Z
|
||||
ARG 0 world
|
||||
ARG 1 seaLevel
|
||||
ARG 2 mutablePos
|
||||
|
|
|
@ -16,3 +16,4 @@ CLASS net/minecraft/class_2975 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
ARG 1 chance
|
||||
METHOD method_30380 getFeature ()Lnet/minecraft/class_3031;
|
||||
METHOD method_30381 getConfig ()Lnet/minecraft/class_3037;
|
||||
METHOD method_30648 getDecoratedFeatures ()Ljava/util/stream/Stream;
|
||||
|
|
|
@ -10,9 +10,14 @@ CLASS net/minecraft/class_5464 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
FIELD field_29508 INFESTED_TARGETS Lcom/google/common/collect/ImmutableList;
|
||||
FIELD field_29511 RANDOM_BERRIES_CAVE_VINES_BODY_PROVIDER Lnet/minecraft/class_4657;
|
||||
FIELD field_29512 RANDOM_AGE_CAVE_VINES_HEAD_PROVIDER Lnet/minecraft/class_5929;
|
||||
FIELD field_29529 FOSSIL_STRUCTURES Lcom/google/common/collect/ImmutableList;
|
||||
FIELD field_29530 FOSSIL_OVERLAY_STRUCTURES Lcom/google/common/collect/ImmutableList;
|
||||
METHOD method_30590 register (Ljava/lang/String;Lnet/minecraft/class_2975;)Lnet/minecraft/class_2975;
|
||||
ARG 0 id
|
||||
ARG 1 configuredFeature
|
||||
METHOD method_34666 createBigDripleafFeature (Lnet/minecraft/class_2350;)Lnet/minecraft/class_2975;
|
||||
ARG 0 blockDirection
|
||||
METHOD method_34855 createSmallDripleafFeature ()Lnet/minecraft/class_2975;
|
||||
CLASS class_5465 Configs
|
||||
FIELD field_26141 GRASS_CONFIG Lnet/minecraft/class_4638;
|
||||
FIELD field_26142 TAIGA_GRASS_CONFIG Lnet/minecraft/class_4638;
|
||||
|
@ -45,6 +50,10 @@ CLASS net/minecraft/class_5464 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
FIELD field_28958 BOTTOM_TO_TOP_OFFSET_8 Lnet/minecraft/class_2997;
|
||||
FIELD field_28959 BOTTOM_TO_TOP_OFFSET_4 Lnet/minecraft/class_2997;
|
||||
FIELD field_28960 DARK_OAK_TREE_HEIGHTMAP Lnet/minecraft/class_3243;
|
||||
FIELD field_29531 HEIGHTMAP_OCEAN_FLOOR Lnet/minecraft/class_3243;
|
||||
FIELD field_29532 BOTTOM_TO_60 Lnet/minecraft/class_2997;
|
||||
FIELD field_29533 HEIGHTMAP_OCEAN_FLOOR_NO_WATER Lnet/minecraft/class_3243;
|
||||
FIELD field_29534 SQUARE_HEIGHTMAP_OCEAN_FLOOR_NO_WATER Lnet/minecraft/class_3243;
|
||||
CLASS class_5467 States
|
||||
FIELD field_26168 RED_MUSHROOM Lnet/minecraft/class_2680;
|
||||
FIELD field_26169 PACKED_ICE Lnet/minecraft/class_2680;
|
||||
|
@ -144,3 +153,11 @@ CLASS net/minecraft/class_5464 net/minecraft/world/gen/feature/ConfiguredFeature
|
|||
FIELD field_29098 DEEPSLATE_LAPIS_ORE Lnet/minecraft/class_2680;
|
||||
FIELD field_29535 SPORE_BLOSSOM Lnet/minecraft/class_2680;
|
||||
FIELD field_29536 INFESTED_DEEPSLATE Lnet/minecraft/class_2680;
|
||||
FIELD field_29646 SMALL_DRIPLEAF_EAST Lnet/minecraft/class_2680;
|
||||
FIELD field_29647 SMALL_DRIPLEAF_WEST Lnet/minecraft/class_2680;
|
||||
FIELD field_29648 SMALL_DRIPLEAF_NORTH Lnet/minecraft/class_2680;
|
||||
FIELD field_29649 SMALL_DRIPLEAF_SOUTH Lnet/minecraft/class_2680;
|
||||
FIELD field_29650 BIG_DRIPLEAF_EAST Lnet/minecraft/class_2680;
|
||||
FIELD field_29651 BIG_DRIPLEAF_WEST Lnet/minecraft/class_2680;
|
||||
FIELD field_29652 BIG_DRIPLEAF_NORTH Lnet/minecraft/class_2680;
|
||||
FIELD field_29653 BIG_DIRPLEAF_SOUTH Lnet/minecraft/class_2680;
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
CLASS net/minecraft/class_3037 net/minecraft/world/gen/feature/FeatureConfig
|
||||
FIELD field_13603 DEFAULT Lnet/minecraft/class_3111;
|
||||
METHOD method_30649 getDecoratedFeatures ()Ljava/util/stream/Stream;
|
||||
|
|
|
@ -2,11 +2,71 @@ CLASS net/minecraft/class_3074 net/minecraft/world/gen/feature/IcebergFeature
|
|||
METHOD method_13414 isAirBelow (Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_13415 (IILnet/minecraft/class_2338;Lnet/minecraft/class_1936;ZDLnet/minecraft/class_2338;II)V
|
||||
ARG 2 y
|
||||
ARG 3 pos
|
||||
ARG 4 world
|
||||
ARG 5 placeWater
|
||||
METHOD method_13416 decreaseValueNearTop (III)I
|
||||
ARG 1 y
|
||||
ARG 2 height
|
||||
ARG 3 value
|
||||
METHOD method_13417 (III)I
|
||||
ARG 1 y
|
||||
ARG 2 height
|
||||
ARG 3 factor
|
||||
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_2680;)Z
|
||||
ARG 4 height
|
||||
METHOD method_13419 (Ljava/util/Random;III)I
|
||||
ARG 1 random
|
||||
ARG 2 y
|
||||
ARG 3 height
|
||||
ARG 4 factor
|
||||
METHOD method_13420 isSnowOrIce (Lnet/minecraft/class_2680;)Z
|
||||
ARG 0 state
|
||||
METHOD method_13421 (IILnet/minecraft/class_2338;ILjava/util/Random;)D
|
||||
ARG 1 x
|
||||
ARG 2 z
|
||||
ARG 3 pos
|
||||
ARG 5 random
|
||||
METHOD method_13422 clearSnowAbove (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
|
||||
ARG 1 world
|
||||
ARG 2 pos
|
||||
METHOD method_13424 getDistance (IILnet/minecraft/class_2338;IID)D
|
||||
ARG 1 x
|
||||
ARG 2 z
|
||||
ARG 3 pos
|
||||
ARG 4 divisor1
|
||||
ARG 5 divisor2
|
||||
ARG 6 randomSine
|
||||
METHOD method_13425 placeBlockOrSnow (Lnet/minecraft/class_2338;Lnet/minecraft/class_1936;Ljava/util/Random;IIZZLnet/minecraft/class_2680;)V
|
||||
ARG 1 pos
|
||||
ARG 2 world
|
||||
ARG 3 random
|
||||
ARG 4 heightRemaining
|
||||
ARG 5 height
|
||||
ARG 6 lessSnow
|
||||
ARG 7 placeSnow
|
||||
ARG 8 state
|
||||
METHOD method_13426 placeAt (Lnet/minecraft/class_1936;Ljava/util/Random;Lnet/minecraft/class_2338;IIIIIIZIDZLnet/minecraft/class_2680;)V
|
||||
ARG 1 world
|
||||
ARG 2 random
|
||||
ARG 3 pos
|
||||
ARG 4 height
|
||||
ARG 5 offsetX
|
||||
ARG 6 offsetY
|
||||
ARG 7 offsetZ
|
||||
ARG 12 randomSine
|
||||
ARG 14 placeSnow
|
||||
ARG 15 state
|
||||
METHOD method_13427 (Ljava/util/Random;III)I
|
||||
ARG 1 random
|
||||
ARG 2 y
|
||||
ARG 3 height
|
||||
ARG 4 factor
|
||||
METHOD method_13428 (Ljava/util/Random;Lnet/minecraft/class_1936;IILnet/minecraft/class_2338;ZIDI)V
|
||||
ARG 1 random
|
||||
ARG 2 world
|
||||
ARG 5 pos
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
CLASS net/minecraft/class_5155 net/minecraft/world/gen/feature/NetherrackReplaceBlobsFeature
|
|
@ -1,3 +1,6 @@
|
|||
CLASS net/minecraft/class_3116 net/minecraft/world/gen/feature/OceanMonumentFeature
|
||||
FIELD field_13716 MONSTER_SPAWNS Ljava/util/List;
|
||||
CLASS class_3117 Start
|
||||
FIELD field_13717 initialized Z
|
||||
METHOD method_16588 init (Lnet/minecraft/class_1923;)V
|
||||
ARG 1 pos
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
CLASS net/minecraft/class_3770 net/minecraft/world/gen/feature/PillagerOutpostFeature
|
||||
FIELD field_16656 MONSTER_SPAWNS Ljava/util/List;
|
||||
METHOD method_30845 isVillageNearby (Lnet/minecraft/class_2794;JLnet/minecraft/class_2919;Lnet/minecraft/class_1923;)Z
|
||||
ARG 1 generator
|
||||
ARG 2 worldSeed
|
||||
ARG 4 random
|
||||
ARG 5 pos
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
CLASS net/minecraft/class_5155 net/minecraft/world/gen/feature/ReplaceBlobsFeature
|
||||
METHOD method_27107 moveDownToTarget (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2248;)Lnet/minecraft/class_2338;
|
||||
ARG 0 world
|
||||
ARG 1 mutablePos
|
||||
ARG 2 target
|
|
@ -1,4 +1,4 @@
|
|||
CLASS net/minecraft/class_5437 net/minecraft/world/gen/feature/NetherrackReplaceBlobsFeatureConfig
|
||||
CLASS net/minecraft/class_5437 net/minecraft/world/gen/feature/ReplaceBlobsFeatureConfig
|
||||
FIELD field_25848 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_25849 target Lnet/minecraft/class_2680;
|
||||
FIELD field_25850 state Lnet/minecraft/class_2680;
|
|
@ -8,10 +8,15 @@ CLASS net/minecraft/class_5183 net/minecraft/world/gen/feature/RuinedPortalFeatu
|
|||
ARG 0 random
|
||||
ARG 1 min
|
||||
ARG 2 max
|
||||
METHOD method_27211 (Ljava/util/Random;Lnet/minecraft/class_2794;Lnet/minecraft/class_5189$class_5191;ZIILnet/minecraft/class_3341;Lnet/minecraft/class_5539;)I
|
||||
METHOD method_27211 getFloorHeight (Ljava/util/Random;Lnet/minecraft/class_2794;Lnet/minecraft/class_5189$class_5191;ZIILnet/minecraft/class_3341;Lnet/minecraft/class_5539;)I
|
||||
ARG 0 random
|
||||
ARG 1 chunkGenerator
|
||||
ARG 2 verticalPlacement
|
||||
ARG 3 airPocket
|
||||
ARG 4 height
|
||||
ARG 5 blockCountY
|
||||
ARG 6 box
|
||||
ARG 7 world
|
||||
CLASS class_5184 Start
|
||||
CLASS class_5185 Type
|
||||
FIELD field_24007 BY_NAME Ljava/util/Map;
|
||||
|
|
|
@ -36,6 +36,9 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
ARG 2 biomeSource
|
||||
ARG 3 worldSeed
|
||||
ARG 5 random
|
||||
ARG 6 pos
|
||||
ARG 9 config
|
||||
ARG 10 world
|
||||
METHOD method_16140 getCreatureSpawns ()Ljava/util/List;
|
||||
METHOD method_27218 getStartChunk (Lnet/minecraft/class_5314;JLnet/minecraft/class_2919;II)Lnet/minecraft/class_1923;
|
||||
COMMENT Determines the cell of the structure placement grid a chunk belongs to, and
|
||||
|
@ -57,16 +60,30 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
COMMENT a placement grid cell. If false, the structure's starting point will be biased
|
||||
COMMENT towards the center of the cell.
|
||||
METHOD method_28656 createStart (Lnet/minecraft/class_1923;Lnet/minecraft/class_3341;IJ)Lnet/minecraft/class_3449;
|
||||
ARG 1 pos
|
||||
ARG 2 box
|
||||
ARG 3 references
|
||||
ARG 4 worldSeed
|
||||
METHOD method_28657 tryPlaceStart (Lnet/minecraft/class_5455;Lnet/minecraft/class_2794;Lnet/minecraft/class_1966;Lnet/minecraft/class_3485;JLnet/minecraft/class_1923;Lnet/minecraft/class_1959;ILnet/minecraft/class_2919;Lnet/minecraft/class_5314;Lnet/minecraft/class_3037;Lnet/minecraft/class_5539;)Lnet/minecraft/class_3449;
|
||||
COMMENT Tries to place a starting point for this type of structure in the given chunk.
|
||||
COMMENT <p>
|
||||
COMMENT If this structure doesn't have a starting point in the chunk, {@link StructureStart#DEFAULT}
|
||||
COMMENT will be returned.
|
||||
ARG 2 generator
|
||||
ARG 3 biomeSource
|
||||
ARG 4 manager
|
||||
ARG 5 worldSeed
|
||||
ARG 7 pos
|
||||
ARG 8 biome
|
||||
ARG 9 referenceCount
|
||||
ARG 10 random
|
||||
ARG 11 structureConfig
|
||||
ARG 12 config
|
||||
ARG 13 world
|
||||
METHOD method_28659 configure (Lnet/minecraft/class_3037;)Lnet/minecraft/class_5312;
|
||||
ARG 1 config
|
||||
METHOD method_28660 readStructureStart (Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;J)Lnet/minecraft/class_3449;
|
||||
ARG 0 world
|
||||
ARG 1 tag
|
||||
ARG 2 worldSeed
|
||||
METHOD method_28661 register (Ljava/lang/String;Lnet/minecraft/class_3195;Lnet/minecraft/class_2893$class_2895;)Lnet/minecraft/class_3195;
|
||||
|
@ -76,7 +93,12 @@ CLASS net/minecraft/class_3195 net/minecraft/world/gen/feature/StructureFeature
|
|||
METHOD method_28663 getGenerationStep ()Lnet/minecraft/class_2893$class_2895;
|
||||
COMMENT Gets the step during which this structure will participate in world generation.
|
||||
COMMENT Structures will generate before other features in the same generation step.
|
||||
METHOD method_28664 init ()V
|
||||
METHOD method_28665 getCodec ()Lcom/mojang/serialization/Codec;
|
||||
CLASS class_3774 StructureStartFactory
|
||||
METHOD create (Lnet/minecraft/class_3195;Lnet/minecraft/class_1923;Lnet/minecraft/class_3341;IJ)Lnet/minecraft/class_3449;
|
||||
ARG 1 feature
|
||||
ARG 2 pos
|
||||
ARG 3 box
|
||||
ARG 4 references
|
||||
ARG 5 worldSeed
|
||||
|
|
Loading…
Reference in New Issue