mirror of https://github.com/FabricMC/yarn.git
23w07a worldgen mappings (#3491)
This commit is contained in:
parent
b3dc08e924
commit
83e1fb5278
|
@ -19,3 +19,7 @@ CLASS net/minecraft/class_6017 net/minecraft/util/math/intprovider/IntProvider
|
|||
ARG 0 provider
|
||||
METHOD method_35011 getMax ()I
|
||||
METHOD method_35012 getType ()Lnet/minecraft/class_6018;
|
||||
METHOD method_49103 createValidatingCodec (IILcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec;
|
||||
ARG 0 min
|
||||
ARG 1 max
|
||||
ARG 2 providerCodec
|
||||
|
|
|
@ -168,6 +168,7 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
COMMENT Note that for negative weirdness values, no special biomes can get picked by this method.
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38203 writeValleyBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
COMMENT Writes biome parameters for the "valley" weirdness range.
|
||||
COMMENT
|
||||
|
|
|
@ -4,8 +4,8 @@ CLASS net/minecraft/class_6568 net/minecraft/world/gen/chunk/ChunkNoiseSampler
|
|||
FIELD field_34600 minimumCellY I
|
||||
FIELD field_34601 startCellX I
|
||||
FIELD field_34602 startCellZ I
|
||||
FIELD field_34603 biomeX I
|
||||
FIELD field_34604 biomeZ I
|
||||
FIELD field_34603 startBiomeX I
|
||||
FIELD field_34604 startBiomeZ I
|
||||
FIELD field_34605 interpolators Ljava/util/List;
|
||||
FIELD field_34613 aquiferSampler Lnet/minecraft/class_6350;
|
||||
FIELD field_35487 blender Lnet/minecraft/class_6748;
|
||||
|
@ -28,9 +28,9 @@ CLASS net/minecraft/class_6568 net/minecraft/world/gen/chunk/ChunkNoiseSampler
|
|||
FIELD field_36586 cachedBlendOffsetDensityFunction Lnet/minecraft/class_6568$class_6951;
|
||||
FIELD field_36587 lastBlendingColumnPos J
|
||||
FIELD field_36588 lastBlendingResult Lnet/minecraft/class_6748$class_6956;
|
||||
FIELD field_36589 biomeHorizontalEnd I
|
||||
FIELD field_36590 horizontalBlockSize I
|
||||
FIELD field_36591 verticalBlockSize I
|
||||
FIELD field_36589 horizontalBiomeEnd I
|
||||
FIELD field_36590 horizontalCellSize I
|
||||
FIELD field_36591 verticalCellSize I
|
||||
FIELD field_36592 isInInterpolationLoop Z
|
||||
FIELD field_36593 isSamplingNoise Z
|
||||
FIELD field_36594 startBlockX I
|
||||
|
@ -38,8 +38,8 @@ CLASS net/minecraft/class_6568 net/minecraft/world/gen/chunk/ChunkNoiseSampler
|
|||
METHOD <init> (ILnet/minecraft/class_7138;IILnet/minecraft/class_5309;Lnet/minecraft/class_6916$class_7050;Lnet/minecraft/class_5284;Lnet/minecraft/class_6350$class_6565;Lnet/minecraft/class_6748;)V
|
||||
ARG 1 horizontalCellCount
|
||||
ARG 2 noiseConfig
|
||||
ARG 3 startX
|
||||
ARG 4 startZ
|
||||
ARG 3 startBlockX
|
||||
ARG 4 startBlockZ
|
||||
ARG 5 generationShapeConfig
|
||||
ARG 6 beardifying
|
||||
ARG 7 chunkGeneratorSettings
|
||||
|
@ -99,8 +99,8 @@ CLASS net/minecraft/class_6568 net/minecraft/world/gen/chunk/ChunkNoiseSampler
|
|||
ARG 2 blockZ
|
||||
METHOD method_40536 sampleBlockState ()Lnet/minecraft/class_2680;
|
||||
METHOD method_40537 stopInterpolation ()V
|
||||
METHOD method_42361 getHorizontalBlockSize ()I
|
||||
METHOD method_42362 getVerticalBlockSize ()I
|
||||
METHOD method_42361 getHorizontalCellSize ()I
|
||||
METHOD method_42362 getVerticalCellSize ()I
|
||||
CLASS class_5917 NoiseInterpolator
|
||||
FIELD field_29227 startNoiseBuffer [[D
|
||||
FIELD field_29228 endNoiseBuffer [[D
|
||||
|
|
|
@ -27,7 +27,7 @@ CLASS net/minecraft/class_5309 net/minecraft/world/gen/chunk/GenerationShapeConf
|
|||
ARG 0 config
|
||||
METHOD method_32996 (Lcom/mojang/serialization/DataResult$PartialResult;)V
|
||||
ARG 0 result
|
||||
METHOD method_39545 verticalBlockSize ()I
|
||||
METHOD method_39546 horizontalBlockSize ()I
|
||||
METHOD method_39545 verticalCellSize ()I
|
||||
METHOD method_39546 horizontalCellSize ()I
|
||||
METHOD method_42368 trimHeight (Lnet/minecraft/class_5539;)Lnet/minecraft/class_5309;
|
||||
ARG 1 world
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
CLASS net/minecraft/class_8178 net/minecraft/world/gen/foliage/CherryFoliagePlacer
|
||||
FIELD field_42841 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_42842 height Lnet/minecraft/class_6017;
|
||||
FIELD field_42843 wideBottomLayerHoleChance F
|
||||
FIELD field_42844 cornerHoleChance F
|
||||
FIELD field_42845 hangingLeavesChance F
|
||||
FIELD field_42846 hangingLeavesExtensionChance F
|
||||
METHOD <init> (Lnet/minecraft/class_6017;Lnet/minecraft/class_6017;Lnet/minecraft/class_6017;FFFF)V
|
||||
ARG 1 radius
|
||||
ARG 2 offset
|
||||
ARG 3 height
|
||||
ARG 4 wideBottomLayerHoleChance
|
||||
ARG 5 cornerHoleChance
|
||||
ARG 6 hangingLeavesChance
|
||||
ARG 7 hangingLeavesExtensionChance
|
|
@ -8,6 +8,7 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
METHOD method_23448 generate (Lnet/minecraft/class_3746;Lnet/minecraft/class_4647$class_8179;Lnet/minecraft/class_5819;Lnet/minecraft/class_4643;ILnet/minecraft/class_4647$class_5208;III)V
|
||||
COMMENT This is the main method used to generate foliage.
|
||||
ARG 1 world
|
||||
ARG 2 placer
|
||||
ARG 3 random
|
||||
ARG 4 config
|
||||
ARG 5 trunkHeight
|
||||
|
@ -18,6 +19,7 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
METHOD method_23449 generateSquare (Lnet/minecraft/class_3746;Lnet/minecraft/class_4647$class_8179;Lnet/minecraft/class_5819;Lnet/minecraft/class_4643;Lnet/minecraft/class_2338;IIZ)V
|
||||
COMMENT Generates a square of leaves with the given radius. Sub-classes can use the method {@code isInvalidForLeaves} to exclude certain positions, such as corners.
|
||||
ARG 1 world
|
||||
ARG 2 placer
|
||||
ARG 3 random
|
||||
ARG 4 config
|
||||
ARG 5 centerPos
|
||||
|
@ -41,6 +43,7 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
ARG 3 config
|
||||
METHOD method_27385 generate (Lnet/minecraft/class_3746;Lnet/minecraft/class_4647$class_8179;Lnet/minecraft/class_5819;Lnet/minecraft/class_4643;ILnet/minecraft/class_4647$class_5208;II)V
|
||||
ARG 1 world
|
||||
ARG 2 placer
|
||||
ARG 3 random
|
||||
ARG 4 config
|
||||
ARG 5 trunkHeight
|
||||
|
@ -65,11 +68,23 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
ARG 0 placer
|
||||
METHOD method_34359 placeFoliageBlock (Lnet/minecraft/class_3746;Lnet/minecraft/class_4647$class_8179;Lnet/minecraft/class_5819;Lnet/minecraft/class_4643;Lnet/minecraft/class_2338;)Z
|
||||
ARG 0 world
|
||||
ARG 1 placer
|
||||
ARG 2 random
|
||||
ARG 3 config
|
||||
ARG 4 pos
|
||||
METHOD method_42380 (Lnet/minecraft/class_3610;)Z
|
||||
ARG 0 fluidState
|
||||
METHOD method_49247 generateSquareWithHangingLeaves (Lnet/minecraft/class_3746;Lnet/minecraft/class_4647$class_8179;Lnet/minecraft/class_5819;Lnet/minecraft/class_4643;Lnet/minecraft/class_2338;IIZFF)V
|
||||
ARG 1 world
|
||||
ARG 2 placer
|
||||
ARG 3 random
|
||||
ARG 4 config
|
||||
ARG 5 centerPos
|
||||
ARG 6 radius
|
||||
ARG 7 y
|
||||
ARG 8 giantTrunk
|
||||
ARG 9 hangingLeavesChance
|
||||
ARG 10 hangingLeavesExtensionChance
|
||||
CLASS class_5208 TreeNode
|
||||
COMMENT A point on a tree to generate foliage around
|
||||
FIELD field_24158 center Lnet/minecraft/class_2338;
|
||||
|
@ -83,3 +98,9 @@ CLASS net/minecraft/class_4647 net/minecraft/world/gen/foliage/FoliagePlacer
|
|||
METHOD method_27389 getFoliageRadius ()I
|
||||
METHOD method_27390 isGiantTrunk ()Z
|
||||
COMMENT Whether this node is the top of a giant (2x2 block) trunk
|
||||
CLASS class_8179 BlockPlacer
|
||||
METHOD method_49239 hasPlacedBlock (Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 pos
|
||||
METHOD method_49240 placeBlock (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
|
||||
ARG 1 pos
|
||||
ARG 2 state
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
CLASS net/minecraft/class_8180 net/minecraft/world/gen/trunk/CherryTrunkPlacer
|
||||
FIELD field_42848 CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_42849 BRANCH_START_OFFSET_PROVIDER_CODEC Lcom/mojang/serialization/Codec;
|
||||
FIELD field_42850 branchCount Lnet/minecraft/class_6017;
|
||||
FIELD field_42851 branchHorizontalLength Lnet/minecraft/class_6017;
|
||||
FIELD field_42852 branchStartOffset Lnet/minecraft/class_6019;
|
||||
FIELD field_42853 smallerBranchStartOffset Lnet/minecraft/class_6019;
|
||||
FIELD field_42854 branchEndOffset Lnet/minecraft/class_6017;
|
||||
METHOD <init> (IIILnet/minecraft/class_6017;Lnet/minecraft/class_6017;Lnet/minecraft/class_6019;Lnet/minecraft/class_6017;)V
|
||||
ARG 1 baseHeight
|
||||
ARG 2 firstRandomHeight
|
||||
ARG 3 secondRandomHeight
|
||||
ARG 4 branchCount
|
||||
ARG 5 branchHorizontalLength
|
||||
ARG 6 branchStartOffset
|
||||
ARG 7 branchEndOffset
|
||||
METHOD method_49248 (Lnet/minecraft/class_6019;)Lcom/mojang/serialization/DataResult;
|
||||
ARG 0 value
|
||||
METHOD method_49249 generateBranch (Lnet/minecraft/class_3746;Ljava/util/function/BiConsumer;Lnet/minecraft/class_5819;ILnet/minecraft/class_2338;Lnet/minecraft/class_4643;Ljava/util/function/Function;Lnet/minecraft/class_2350;IZLnet/minecraft/class_2338$class_2339;)Lnet/minecraft/class_4647$class_5208;
|
||||
ARG 1 world
|
||||
ARG 2 replacer
|
||||
ARG 3 random
|
||||
ARG 4 height
|
||||
ARG 5 startPos
|
||||
ARG 6 config
|
||||
ARG 7 withAxisFunction
|
||||
ARG 8 direction
|
||||
ARG 9 branchStartOffset
|
||||
ARG 10 branchBelowHeight
|
||||
ARG 11 mutablePos
|
||||
METHOD method_49251 (Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
|
||||
ARG 1 state
|
Loading…
Reference in New Issue