mirror of https://github.com/FabricMC/yarn.git
More 1.19 worldgen mappings (#3251)
* Terrain generation * A few multi noise and terrain parameter things * Fixed typo * Mappings for DensityFunctions * Added JavaDocs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
6b2b89e932
commit
9469bff86a
|
@ -1,5 +1,15 @@
|
|||
CLASS net/minecraft/class_6501 net/minecraft/util/function/ToFloatFunction
|
||||
FIELD field_37409 IDENTITY Lnet/minecraft/class_6501;
|
||||
METHOD comp_532 min ()F
|
||||
METHOD comp_533 max ()F
|
||||
METHOD method_41296 apply (Ljava/lang/Object;)F
|
||||
ARG 1 x
|
||||
METHOD method_41307 (F)F
|
||||
ARG 0 value
|
||||
METHOD method_41308 fromFloat (Lit/unimi/dsi/fastutil/floats/Float2FloatFunction;)Lnet/minecraft/class_6501;
|
||||
ARG 0 delegate
|
||||
METHOD method_41309 compose (Ljava/util/function/Function;)Lnet/minecraft/class_6501;
|
||||
COMMENT {@return a composed function that first applies the before function to its input,
|
||||
COMMENT and then applies this function} to the result.
|
||||
ARG 1 before
|
||||
COMMENT the function to apply before this function is applied
|
||||
|
|
|
@ -30,6 +30,8 @@ CLASS net/minecraft/class_6492 net/minecraft/util/math/Spline
|
|||
METHOD method_39502 builder (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;)Lnet/minecraft/class_6492$class_6493;
|
||||
ARG 0 locationFunction
|
||||
ARG 1 amplifier
|
||||
METHOD method_41187 apply (Lnet/minecraft/class_6492$class_7073;)Lnet/minecraft/class_6492;
|
||||
ARG 1 visitor
|
||||
CLASS class_6493 Builder
|
||||
FIELD field_34382 locationFunction Lnet/minecraft/class_6501;
|
||||
FIELD field_34383 locations Lit/unimi/dsi/fastutil/floats/FloatList;
|
||||
|
@ -46,10 +48,16 @@ CLASS net/minecraft/class_6492 net/minecraft/util/math/Spline
|
|||
ARG 1 location
|
||||
ARG 2 value
|
||||
ARG 3 derivative
|
||||
METHOD method_37925 add (FLnet/minecraft/class_6492;F)Lnet/minecraft/class_6492$class_6493;
|
||||
METHOD method_37925 addPoint (FLnet/minecraft/class_6492;F)Lnet/minecraft/class_6492$class_6493;
|
||||
ARG 1 location
|
||||
ARG 2 value
|
||||
ARG 3 derivative
|
||||
METHOD method_41294 add (FF)Lnet/minecraft/class_6492$class_6493;
|
||||
ARG 1 location
|
||||
ARG 2 value
|
||||
METHOD method_41295 add (FLnet/minecraft/class_6492;)Lnet/minecraft/class_6492$class_6493;
|
||||
ARG 1 location
|
||||
ARG 2 value
|
||||
CLASS class_6494 FixedFloatFunction
|
||||
FIELD comp_228 value F
|
||||
METHOD <init> (F)V
|
||||
|
@ -67,3 +75,13 @@ CLASS net/minecraft/class_6492 net/minecraft/util/math/Spline
|
|||
ARG 1 values
|
||||
METHOD method_39239 ([FI)D
|
||||
ARG 1 index
|
||||
METHOD method_41188 (Lnet/minecraft/class_6492$class_7073;Lnet/minecraft/class_6492;)Lnet/minecraft/class_6492;
|
||||
ARG 1 value
|
||||
METHOD method_41299 build (Lnet/minecraft/class_6501;[FLjava/util/List;[F)Lnet/minecraft/class_6492$class_6738;
|
||||
ARG 0 locationFunction
|
||||
ARG 1 locations
|
||||
ARG 2 values
|
||||
ARG 3 derivatives
|
||||
CLASS class_7073 Visitor
|
||||
METHOD visit (Ljava/lang/Object;)Ljava/lang/Object;
|
||||
ARG 1 value
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
CLASS net/minecraft/class_6544 net/minecraft/world/biome/source/util/MultiNoiseUtil
|
||||
FIELD field_34476 HYPERCUBE_DIMENSION I
|
||||
FIELD field_35359 TO_LONG_FACTOR F
|
||||
METHOD method_38116 createNoiseValuePoint (FFFFFF)Lnet/minecraft/class_6544$class_6553;
|
||||
ARG 0 temperatureNoise
|
||||
ARG 1 humidityNoise
|
||||
|
@ -23,9 +24,14 @@ CLASS net/minecraft/class_6544 net/minecraft/world/biome/source/util/MultiNoiseU
|
|||
ARG 4 depth
|
||||
ARG 5 weirdness
|
||||
ARG 6 offset
|
||||
METHOD method_38665 toLong (F)J
|
||||
ARG 0 value
|
||||
METHOD method_38666 toFloat (J)F
|
||||
ARG 0 value
|
||||
METHOD method_39164 findFittestPosition (Ljava/util/List;Lnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_2338;
|
||||
ARG 0 noises
|
||||
ARG 1 sampler
|
||||
METHOD method_40443 createEmptyMultiNoiseSampler ()Lnet/minecraft/class_6544$class_6552;
|
||||
CLASS class_4762 NoiseHypercube
|
||||
COMMENT Represents a hypercube in a multi-dimensional cartesian plane. The multi-noise
|
||||
COMMENT biome source picks the closest noise hypercube from its selected point
|
||||
|
@ -79,6 +85,7 @@ CLASS net/minecraft/class_6544 net/minecraft/world/biome/source/util/MultiNoiseU
|
|||
CLASS class_6545 NodeDistanceFunction
|
||||
METHOD distance getDistance (Lnet/minecraft/class_6544$class_6548$class_6550;[J)J
|
||||
ARG 1 node
|
||||
ARG 2 otherParameters
|
||||
CLASS class_6546 ParameterRange
|
||||
FIELD comp_103 min J
|
||||
FIELD comp_104 max J
|
||||
|
@ -115,6 +122,23 @@ CLASS net/minecraft/class_6544 net/minecraft/world/biome/source/util/MultiNoiseU
|
|||
METHOD <init> (Ljava/util/List;)V
|
||||
ARG 1 entries
|
||||
METHOD method_38128 getEntries ()Ljava/util/List;
|
||||
METHOD method_39527 getValue (Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
|
||||
COMMENT {@return the closest entry at the given point}.
|
||||
ARG 1 point
|
||||
COMMENT the point of all relevant noises
|
||||
METHOD method_39528 getValue (Lnet/minecraft/class_6544$class_6553;Lnet/minecraft/class_6544$class_6545;)Ljava/lang/Object;
|
||||
ARG 1 point
|
||||
ARG 2 distanceFunction
|
||||
METHOD method_39529 get (Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
|
||||
COMMENT {@return the closest entry at the given point}.
|
||||
ARG 1 point
|
||||
COMMENT the point of all relevant noises
|
||||
METHOD method_39530 getValueSimple (Lnet/minecraft/class_6544$class_6553;)Ljava/lang/Object;
|
||||
COMMENT {@return the closest entry at the given point}.
|
||||
COMMENT
|
||||
COMMENT Note that this method only exists for testing, and is usually a lot slower
|
||||
COMMENT than {@link getValue()}.
|
||||
ARG 1 point
|
||||
CLASS class_6548 SearchTree
|
||||
FIELD field_34486 MAX_NODES_FOR_SIMPLE_TREE I
|
||||
FIELD field_34487 firstNode Lnet/minecraft/class_6544$class_6548$class_6550;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiomeParameters
|
||||
FIELD field_34500 MAX_VALLEY_WEIRDNESS F
|
||||
FIELD field_34502 MAX_HIGH_WEIRDNESS F
|
||||
FIELD field_34503 MAX_PEAK_WEIRDNESS F
|
||||
FIELD field_34504 defaultParameter Lnet/minecraft/class_6544$class_6546;
|
||||
FIELD field_34505 temperatureParameters [Lnet/minecraft/class_6544$class_6546;
|
||||
FIELD field_34506 humidityParameters [Lnet/minecraft/class_6544$class_6546;
|
||||
|
@ -22,6 +23,7 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
FIELD field_34522 specialNearMountainBiomes [[Lnet/minecraft/class_5321;
|
||||
FIELD field_35041 MAX_MID_WEIRDNESS F
|
||||
FIELD field_35047 MAX_LOW_WEIRDNESS F
|
||||
FIELD field_35048 MAX_SECOND_HIGH_WEIRDNESS F
|
||||
FIELD field_36339 windsweptBiomes [[Lnet/minecraft/class_5321;
|
||||
METHOD method_38179 getPeaksValleysDescription (D)Ljava/lang/String;
|
||||
ARG 0 weirdness
|
||||
|
@ -29,22 +31,38 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
ARG 0 noisePoint
|
||||
ARG 2 noiseRanges
|
||||
METHOD method_38181 getShoreBiome (II)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return an appropriate shore biome for the given temperature and humidity}.
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
METHOD method_38182 getRegularBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a regular biome.} This can be a {@linkplain #commonBiomes common} or {@linkplain #uncommonBiomes uncommon} biome, depending on
|
||||
COMMENT temperature and humidity.
|
||||
COMMENT
|
||||
COMMENT Note that for negative weirdness values, only common biomes can get picked by this
|
||||
COMMENT method.
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38183 getBiomeOrWindsweptSavanna (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
METHOD method_38183 getWindsweptOrRegularBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a windswept or regular biome, depending on temperature and humidity}.
|
||||
COMMENT
|
||||
COMMENT @see #getRegularBiome()
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38184 getBadlandsBiome (ILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a badlands for the given humidity and weirdness}.
|
||||
ARG 1 humidity
|
||||
ARG 2 weirdness
|
||||
METHOD method_38185 writeVanillaBiomeParameters (Ljava/util/function/Consumer;)V
|
||||
METHOD method_38185 writeOverworldBiomeParameters (Ljava/util/function/Consumer;)V
|
||||
COMMENT Writes all biome parameters for the overworld to the passed parameter consumer.
|
||||
ARG 1 parameters
|
||||
METHOD method_38186 writeMountainousBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
METHOD method_38186 writePeakBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
COMMENT Writes biome parameters for the "peak" weirdness range.
|
||||
COMMENT
|
||||
COMMENT These can be regular biomes for higher erosion values or near the coast,
|
||||
COMMENT biomes that are usually near mountains (like plateaus or mountain slopes), or,
|
||||
COMMENT for lower erosion values, peak biomes like jagged, frozen or stony peaks.
|
||||
ARG 1 parameters
|
||||
ARG 2 weirdness
|
||||
METHOD method_38187 writeBiomeParameters (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;FLnet/minecraft/class_5321;)V
|
||||
|
@ -59,12 +77,22 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
METHOD method_38188 getContinentalnessDescription (D)Ljava/lang/String;
|
||||
ARG 1 continentalness
|
||||
METHOD method_38189 getBadlandsOrRegularBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return badlands if {@code temperature} is {@code 4}, otherwise a regular biome}.
|
||||
COMMENT
|
||||
COMMENT @see #getRegularBiome()
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38190 writeOceanBiomes (Ljava/util/function/Consumer;)V
|
||||
COMMENT Writes all parameters for ocean biomes.
|
||||
COMMENT This includes oceans, deep oceans and mushroom fields.
|
||||
ARG 1 parameters
|
||||
METHOD method_38191 writePlainBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
METHOD method_38191 writeHighBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
COMMENT Writes biome parameters for the "high" weirdness range.
|
||||
COMMENT
|
||||
COMMENT These can be regular biomes for higher erosion values or near the coast,
|
||||
COMMENT biomes that usually appear near mountains, like meadows or slopes,
|
||||
COMMENT or, rarely (for very low erosion and high continentalness values), peak biomes.
|
||||
ARG 1 parameters
|
||||
ARG 2 weirdness
|
||||
METHOD method_38192 writeCaveBiomeParameters (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_6544$class_6546;FLnet/minecraft/class_5321;)V
|
||||
|
@ -79,44 +107,97 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
METHOD method_38193 getErosionDescription (D)Ljava/lang/String;
|
||||
ARG 1 erosion
|
||||
METHOD method_38194 getMountainStartBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a slope biome if {@code temperature} is {@code 0}, otherwise a regular biome}.
|
||||
COMMENT
|
||||
COMMENT @see #getMountainSlopeBiome()
|
||||
COMMENT @see getBadlandsOrRegularBiome()
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38195 writeLandBiomes (Ljava/util/function/Consumer;)V
|
||||
COMMENT Writes all parameters for land biomes.
|
||||
COMMENT This means that {@code continentalness} is greater than about {@code -0.16} for them.
|
||||
ARG 1 parameters
|
||||
METHOD method_38196 writeMixedBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
METHOD method_38196 writeMidBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
COMMENT Writes biome parameters for the "mid" weirdness range.
|
||||
COMMENT
|
||||
COMMENT These will be regular biomes in most cases, but can also be shore biomes near the coast,
|
||||
COMMENT or the start of a mountain biome for very low erosion.
|
||||
ARG 1 parameters
|
||||
ARG 2 weirdness
|
||||
METHOD method_38197 getTemperatureDescription (D)Ljava/lang/String;
|
||||
ARG 1 temperature
|
||||
METHOD method_38198 getFlatShoreBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
METHOD method_38198 getErodedShoreBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a shore biome for high erosion values}.
|
||||
COMMENT
|
||||
COMMENT If {@code weirdness} is positive, this will be a regular biome.
|
||||
COMMENT For some specific conditions, this can also be a windswept savanna.
|
||||
COMMENT
|
||||
COMMENT @see #getShoreBiome()
|
||||
COMMENT @see #getRegularBiome()
|
||||
COMMENT @see #getBiomeOrWindsweptSavanna()
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38199 writeCaveBiomes (Ljava/util/function/Consumer;)V
|
||||
COMMENT Writes biome parameters for all cave biomes.
|
||||
COMMENT Currently, this only consists of dripstone caves, lush caves, and the deep dark.
|
||||
COMMENT
|
||||
COMMENT Dripstone caves can generate anywhere where there are high high continentalness values.
|
||||
COMMENT Lush caves can generate anywhere at high humidity values.
|
||||
COMMENT
|
||||
COMMENT The deep dark can generate anywhere at low erosion values, which usually means
|
||||
COMMENT it will be near mountains.
|
||||
ARG 1 parameters
|
||||
METHOD method_38200 writeBiomesNearRivers (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
METHOD method_38200 writeLowBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
COMMENT Writes biome parameters for the "low" weirdness range.
|
||||
COMMENT
|
||||
COMMENT These will be regular biomes in most cases,
|
||||
COMMENT but can also be shore biomes near the coast,
|
||||
COMMENT or swamps for very high erosion.
|
||||
ARG 1 parameters
|
||||
ARG 2 weirdness
|
||||
METHOD method_38201 getHumidityDescription (D)Ljava/lang/String;
|
||||
ARG 1 humidity
|
||||
METHOD method_38202 getNearMountainBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a biome to generate near mountains.}
|
||||
COMMENT This can be a {@linkplain #nearMountainBiomes normal} or
|
||||
COMMENT {@linkplain #specialNearMountainBiomes special} biome, depending on
|
||||
COMMENT temperature and humidity.
|
||||
COMMENT
|
||||
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 writeRiverBiomes (Ljava/util/function/Consumer;Lnet/minecraft/class_6544$class_6546;)V
|
||||
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
|
||||
COMMENT In most cases, a valley will be a river. In low temperatures, a river can also be frozen.
|
||||
COMMENT Valleys that go through a swamp will remain a swamp biome.
|
||||
COMMENT
|
||||
COMMENT Mountain ranges can also sometimes have valleys that are not a river,
|
||||
COMMENT in which case this method will pick a regular or badlands biome.
|
||||
ARG 1 parameters
|
||||
ARG 2 weirdness
|
||||
METHOD method_38204 getPeakBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a peak biome for the given temperature, humidity and weirdness}.
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_38205 getMountainSlopeBiome (IILnet/minecraft/class_6544$class_6546;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a mountain slope biome for the given temperature, humidity and weirdness.
|
||||
COMMENT
|
||||
COMMENT @see #getNearMountainBiome()
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
METHOD method_39168 getSpawnSuitabilityNoises ()Ljava/util/List;
|
||||
METHOD method_40009 getBiomeOrWindsweptSavanna (IILnet/minecraft/class_6544$class_6546;Lnet/minecraft/class_5321;)Lnet/minecraft/class_5321;
|
||||
COMMENT {@return a windswept savanna for specific conditions, otherwise the given biome}.
|
||||
COMMENT
|
||||
COMMENT For a windswept savanna being returned by this method, {@code temperature} must be
|
||||
COMMENT greater than {@code 1}, {@code humidity} must be less than {@code 4} and
|
||||
COMMENT {@code weirdness} must be positive.
|
||||
ARG 1 temperature
|
||||
ARG 2 humidity
|
||||
ARG 3 weirdness
|
||||
|
@ -135,3 +216,6 @@ CLASS net/minecraft/class_6554 net/minecraft/world/biome/source/util/VanillaBiom
|
|||
ARG 6 weirdness
|
||||
ARG 7 offset
|
||||
ARG 8 biome
|
||||
METHOD method_43718 (DD)Z
|
||||
ARG 0 erosion
|
||||
ARG 2 depth
|
||||
|
|
|
@ -1,2 +1,68 @@
|
|||
CLASS net/minecraft/class_6765 net/minecraft/world/biome/source/util/VanillaTerrainParametersCreator
|
||||
FIELD field_38028 IDENTITY Lnet/minecraft/class_6501;
|
||||
FIELD field_38029 OFFSET_AMPLIFIER Lnet/minecraft/class_6501;
|
||||
FIELD field_38030 FACTOR_AMPLIFIER Lnet/minecraft/class_6501;
|
||||
FIELD field_38031 JAGGEDNESS_AMPLIFIER Lnet/minecraft/class_6501;
|
||||
METHOD method_42046 getOffsetValue (FFF)F
|
||||
METHOD method_42048 (Lnet/minecraft/class_6501;FFFFFFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 ridgesFolded
|
||||
ARG 1 continentalness
|
||||
ARG 7 amplifier
|
||||
METHOD method_42049 (Lnet/minecraft/class_6501;FLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 ridges
|
||||
ARG 2 amplifier
|
||||
METHOD method_42050 (Lnet/minecraft/class_6501;FZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 ridgesFolded
|
||||
ARG 3 amplifier
|
||||
METHOD method_42051 createContinentalOffsetSpline (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;FFFFFFZZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 erosion
|
||||
ARG 1 ridgesFolded
|
||||
ARG 2 continentalness
|
||||
ARG 10 amplifier
|
||||
METHOD method_42052 (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;FFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 ridges
|
||||
ARG 1 ridgesFolded
|
||||
ARG 4 amplifier
|
||||
METHOD method_42053 (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;FFFFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 erosion
|
||||
ARG 1 ridges
|
||||
ARG 2 ridgesFolded
|
||||
ARG 7 amplifier
|
||||
METHOD method_42054 (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;FZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
|
||||
ARG 0 erosion
|
||||
ARG 1 ridges
|
||||
ARG 2 ridgesFolded
|
||||
ARG 5 amplifier
|
||||
METHOD method_42055 createFactorSpline (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Z)Lnet/minecraft/class_6492;
|
||||
COMMENT Creates the spline for terrain factor.
|
||||
COMMENT
|
||||
COMMENT Higher factor values generally result in flatter terrain,
|
||||
COMMENT while lower values generally result in more shattered terrain.
|
||||
ARG 0 continents
|
||||
ARG 1 erosion
|
||||
ARG 2 ridges
|
||||
ARG 3 ridgesFolded
|
||||
ARG 4 amplified
|
||||
METHOD method_42056 createOffsetSpline (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Z)Lnet/minecraft/class_6492;
|
||||
COMMENT Creates the spline for terrain offset.
|
||||
COMMENT
|
||||
COMMENT Offset roughly correlates to surface height.
|
||||
ARG 0 continents
|
||||
ARG 1 erosion
|
||||
ARG 2 ridgesFolded
|
||||
ARG 3 amplified
|
||||
METHOD method_42057 (F)F
|
||||
ARG 0 value
|
||||
METHOD method_42058 createJaggednessSpline (Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Lnet/minecraft/class_6501;Z)Lnet/minecraft/class_6492;
|
||||
COMMENT Creates the spline for terrain jaggedness.
|
||||
COMMENT
|
||||
COMMENT This is used for the peaks in the jagged peaks biome, for example.
|
||||
ARG 0 continents
|
||||
ARG 1 erosion
|
||||
ARG 2 ridges
|
||||
ARG 3 ridgesFolded
|
||||
ARG 4 amplified
|
||||
METHOD method_42059 (F)F
|
||||
ARG 0 value
|
||||
METHOD method_42060 (F)F
|
||||
ARG 0 value
|
||||
|
|
|
@ -27,6 +27,7 @@ CLASS net/minecraft/class_6350 net/minecraft/world/gen/chunk/AquiferSampler
|
|||
FIELD field_34578 chunkNoiseSampler Lnet/minecraft/class_6568;
|
||||
FIELD field_34579 randomDeriver Lnet/minecraft/class_6574;
|
||||
FIELD field_34580 fluidLevelSampler Lnet/minecraft/class_6350$class_6565;
|
||||
FIELD field_34581 CHUNK_POS_OFFSETS [[I
|
||||
FIELD field_35122 fluidLevelFloodednessNoise Lnet/minecraft/class_6910;
|
||||
FIELD field_35123 fluidLevelSpreadNoise Lnet/minecraft/class_6910;
|
||||
FIELD field_36221 NEEDS_FLUID_TICK_DISTANCE_THRESHOLD D
|
||||
|
@ -56,15 +57,26 @@ CLASS net/minecraft/class_6350 net/minecraft/world/gen/chunk/AquiferSampler
|
|||
ARG 3 z
|
||||
METHOD method_33743 getLocalZ (I)I
|
||||
ARG 1 z
|
||||
METHOD method_40463 (III)Lnet/minecraft/class_6350$class_6351;
|
||||
METHOD method_40463 getFluidLevel (III)Lnet/minecraft/class_6350$class_6351;
|
||||
ARG 1 blockX
|
||||
ARG 2 blockY
|
||||
ARG 3 blockZ
|
||||
METHOD method_42354 (IIILnet/minecraft/class_6350$class_6351;IZ)I
|
||||
METHOD method_42352 getNoiseBasedFluidLevel (IIII)I
|
||||
ARG 1 blockX
|
||||
ARG 2 blockY
|
||||
ARG 3 blockZ
|
||||
ARG 4 fluidLevel
|
||||
ARG 4 surfaceHeightEstimate
|
||||
METHOD method_42353 getFluidBlockState (IIILnet/minecraft/class_6350$class_6351;I)Lnet/minecraft/class_2680;
|
||||
ARG 1 blockX
|
||||
ARG 2 blockY
|
||||
ARG 3 blockZ
|
||||
ARG 4 defaultFluidLevel
|
||||
ARG 5 fluidLevel
|
||||
METHOD method_42354 getFluidBlockY (IIILnet/minecraft/class_6350$class_6351;IZ)I
|
||||
ARG 1 blockX
|
||||
ARG 2 blockY
|
||||
ARG 3 blockZ
|
||||
ARG 4 defaultFluidLevel
|
||||
ARG 5 surfaceHeightEstimate
|
||||
CLASS class_6351 FluidLevel
|
||||
FIELD field_33576 y I
|
||||
|
|
|
@ -15,6 +15,17 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
ARG 0 seed
|
||||
METHOD method_40483 interpolated (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 inputFunction
|
||||
METHOD method_40484 mapRange (Lnet/minecraft/class_6910;DD)Lnet/minecraft/class_6910;
|
||||
COMMENT Creates a new density function based on {@code function}, but with a different range.
|
||||
COMMENT {@code function} is assumed to be in the range {@code -1.0} to {@code 1.0},
|
||||
COMMENT while the new function will be in the range {@code min} to {@code max}.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 function
|
||||
ARG 1 min
|
||||
COMMENT the new minimum value
|
||||
ARG 3 max
|
||||
COMMENT the new maximum value
|
||||
METHOD method_40485 rangeChoice (Lnet/minecraft/class_6910;DDLnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 input
|
||||
ARG 1 minInclusive
|
||||
|
@ -29,6 +40,17 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
ARG 1 shiftZ
|
||||
ARG 2 xzScale
|
||||
ARG 4 noiseParameters
|
||||
METHOD method_40488 lerp (Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
COMMENT Creates a new density function which interpolates between the values of
|
||||
COMMENT {@code start} and {@code end}, based on {@code delta}.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 delta
|
||||
COMMENT the function used for the delta value
|
||||
ARG 1 start
|
||||
COMMENT the function used for the start value, for the {@code delta} value {@code 0.0}
|
||||
ARG 2 end
|
||||
COMMENT the function used for the end value, for the {@code delta} value {@code 1.0}
|
||||
METHOD method_40490 unary (Lnet/minecraft/class_6910;Lnet/minecraft/class_6916$class_6925$class_6926;)Lnet/minecraft/class_6910;
|
||||
ARG 0 input
|
||||
ARG 1 type
|
||||
|
@ -40,16 +62,22 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
ARG 0 noiseParameters
|
||||
METHOD method_40494 noise (Lnet/minecraft/class_6880;D)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
ARG 1 yScale
|
||||
METHOD method_40495 noise (Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
|
||||
ARG 1 scaleY
|
||||
METHOD method_40495 noiseInRange (Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
METHOD method_40496 noise (Lnet/minecraft/class_6880;DDDD)Lnet/minecraft/class_6910;
|
||||
ARG 1 min
|
||||
ARG 3 max
|
||||
METHOD method_40496 noiseInRange (Lnet/minecraft/class_6880;DDDD)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
ARG 1 xzScale
|
||||
ARG 3 yScale
|
||||
METHOD method_40497 noise (Lnet/minecraft/class_6880;DDD)Lnet/minecraft/class_6910;
|
||||
ARG 1 scaleXz
|
||||
ARG 3 scaleY
|
||||
ARG 5 min
|
||||
ARG 7 max
|
||||
METHOD method_40497 noiseInRange (Lnet/minecraft/class_6880;DDD)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
ARG 1 yScale
|
||||
ARG 1 scaleY
|
||||
ARG 3 min
|
||||
ARG 5 max
|
||||
METHOD method_40498 blendAlpha ()Lnet/minecraft/class_6910;
|
||||
METHOD method_40499 flatCache (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 inputFunction
|
||||
|
@ -58,10 +86,10 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
ARG 1 b
|
||||
METHOD method_40501 shiftA (Lnet/minecraft/class_6880;)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
METHOD method_40502 (Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
|
||||
METHOD method_40502 noise (Lnet/minecraft/class_6880;DD)Lnet/minecraft/class_6910;
|
||||
ARG 0 noiseParameters
|
||||
ARG 1 xzScale
|
||||
ARG 3 yScale
|
||||
ARG 1 scaleXz
|
||||
ARG 3 scaleY
|
||||
METHOD method_40503 blendOffset ()Lnet/minecraft/class_6910;
|
||||
METHOD method_40504 cache2d (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 inputFunction
|
||||
|
@ -108,6 +136,16 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
ARG 0 densityFunction
|
||||
METHOD method_41528 spline (Lnet/minecraft/class_6492;)Lnet/minecraft/class_6910;
|
||||
ARG 0 spline
|
||||
METHOD method_42359 lerp (Lnet/minecraft/class_6910;DLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
COMMENT Creates a new density function which interpolates between the values of
|
||||
COMMENT {@code start} and {@code end}, based on {@code delta}.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 delta
|
||||
ARG 1 start
|
||||
COMMENT the start value, for the {@code delta} value {@code 0.0}
|
||||
ARG 3 end
|
||||
COMMENT the function used for the end value, for the {@code delta} value {@code 1.0}
|
||||
METHOD method_42360 (Lnet/minecraft/class_6910;)Lcom/mojang/serialization/Codec;
|
||||
ARG 0 densityFunction
|
||||
CLASS class_6917 BinaryOperation
|
||||
|
@ -228,6 +266,8 @@ CLASS net/minecraft/class_6916 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
FIELD field_37255 CODEC_HOLDER Lnet/minecraft/class_7243;
|
||||
FIELD field_37256 SPLINE_FUNCTION_CODEC Lcom/mojang/serialization/MapCodec;
|
||||
FIELD field_37678 SPLINE_CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD method_41197 (Lnet/minecraft/class_6910$class_6915;Lnet/minecraft/class_6916$class_7076$class_7135;)Lnet/minecraft/class_6916$class_7076$class_7135;
|
||||
ARG 1 densityFunctionWrapper
|
||||
CLASS class_7135 DensityFunctionWrapper
|
||||
FIELD field_37679 CODEC Lcom/mojang/serialization/Codec;
|
||||
METHOD method_41530 apply (Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6916$class_7076$class_7135;
|
||||
|
|
|
@ -1,9 +1,32 @@
|
|||
CLASS net/minecraft/class_6954 net/minecraft/world/gen/densityfunction/DensityFunctions
|
||||
FIELD field_36618 TEN_FUNCTION Lnet/minecraft/class_6910;
|
||||
FIELD field_36619 ZERO_FUNCTION Lnet/minecraft/class_6910;
|
||||
METHOD method_40539 verticalRangeChoice (Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;III)Lnet/minecraft/class_6910;
|
||||
ARG 0 y
|
||||
ARG 1 whenInRange
|
||||
ARG 2 minInclusive
|
||||
ARG 3 maxInclusive
|
||||
ARG 4 whenOutOfRange
|
||||
METHOD method_40540 createInitialDensityFunction (Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 factor
|
||||
ARG 1 depth
|
||||
METHOD method_40541 applyBlending (Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 function
|
||||
ARG 1 blendOffset
|
||||
METHOD method_41100 initAndGetDefault (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6880;
|
||||
ARG 0 registry
|
||||
METHOD method_41101 createCavesFunction (Lnet/minecraft/class_2378;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 registry
|
||||
ARG 1 slopedCheese
|
||||
METHOD method_41103 createSurfaceNoiseRouter (Lnet/minecraft/class_2378;ZZ)Lnet/minecraft/class_6953;
|
||||
COMMENT Creates the {@link NoiseRouter} for the overworld and the surface world type.
|
||||
COMMENT
|
||||
COMMENT @return the created {@code NoiseRouter}
|
||||
ARG 0 registry
|
||||
ARG 1 largeBiomes
|
||||
COMMENT whether the large biomes world type is used
|
||||
ARG 2 amplified
|
||||
COMMENT whether the amplified world type is used
|
||||
METHOD method_41109 of (Ljava/lang/String;)Lnet/minecraft/class_5321;
|
||||
ARG 0 id
|
||||
METHOD method_41111 getNoiseParametersEntry (Lnet/minecraft/class_5321;)Lnet/minecraft/class_6880;
|
||||
|
@ -19,22 +42,110 @@ CLASS net/minecraft/class_6954 net/minecraft/world/gen/densityfunction/DensityFu
|
|||
METHOD method_41117 createCavesEntrancesOverworldFunction (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6910;
|
||||
ARG 0 registry
|
||||
METHOD method_41118 createNetherNoiseRouter (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6953;
|
||||
COMMENT Creates the {@link NoiseRouter} for the nether.
|
||||
COMMENT
|
||||
COMMENT @return the created {@code NoiseRouter}
|
||||
ARG 0 registry
|
||||
METHOD method_41119 createCavesNoodleOverworldFunction (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6910;
|
||||
ARG 0 registry
|
||||
METHOD method_41120 createEndNoiseRouter (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6953;
|
||||
COMMENT Creates the {@link NoiseRouter} for The End.
|
||||
COMMENT
|
||||
COMMENT @return the created {@code NoiseRouter}
|
||||
ARG 0 registry
|
||||
METHOD method_41121 createCavePillarsOverworldFunction ()Lnet/minecraft/class_6910;
|
||||
METHOD method_41122 createCavesSpaghetti2dOverworldFunction (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6910;
|
||||
ARG 0 registry
|
||||
METHOD method_41207 applyBlendDensity (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 density
|
||||
METHOD method_41211 createMultiNoiseDependentNoiseRouter (Lnet/minecraft/class_2378;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6953;
|
||||
ARG 0 registry
|
||||
ARG 1 density
|
||||
METHOD method_41546 getPeaksValleysNoise (F)F
|
||||
ARG 0 weirdness
|
||||
METHOD method_41547 createRidgesFoldedOverworldFunction (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 input
|
||||
METHOD method_41548 registerSlopedCheeseFunction (Lnet/minecraft/class_2378;Lnet/minecraft/class_6910;Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Lnet/minecraft/class_5321;Z)V
|
||||
COMMENT Creates and registers the {@code sloped_cheese} density function.
|
||||
COMMENT This is used for the normal, large biomes and amplified world types.
|
||||
ARG 0 registry
|
||||
ARG 1 jaggedNoise
|
||||
ARG 2 continents
|
||||
ARG 3 erosion
|
||||
ARG 4 offsetKey
|
||||
ARG 5 factorKey
|
||||
ARG 6 jaggednessKey
|
||||
ARG 7 depthKey
|
||||
ARG 8 slopedCheeseKey
|
||||
ARG 9 amplified
|
||||
METHOD method_41549 createCavesNoiseRouter (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6953;
|
||||
COMMENT Creates the {@link NoiseRouter} for the caves world type.
|
||||
COMMENT
|
||||
COMMENT @return the created {@code NoiseRouter}
|
||||
ARG 0 registry
|
||||
METHOD method_41551 registerAndGetHolder (Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
ARG 0 registry
|
||||
ARG 1 key
|
||||
ARG 2 densityFunction
|
||||
METHOD method_41552 createFloatingIslandsNoiseRouter (Lnet/minecraft/class_2378;)Lnet/minecraft/class_6953;
|
||||
COMMENT Creates the {@link NoiseRouter} for the floating islands world type.
|
||||
COMMENT
|
||||
COMMENT @return the created {@code NoiseRouter}
|
||||
ARG 0 registry
|
||||
METHOD method_42363 applyCavesSlides (Lnet/minecraft/class_2378;II)Lnet/minecraft/class_6910;
|
||||
COMMENT Applies the slides for the nether and the caves world type.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 registry
|
||||
ARG 1 minY
|
||||
COMMENT the minimum block Y coordinate of the world
|
||||
ARG 2 maxY
|
||||
COMMENT the maximum block Y coordinate of the world
|
||||
METHOD method_42364 applyFloatingIslandsSlides (Lnet/minecraft/class_6910;II)Lnet/minecraft/class_6910;
|
||||
COMMENT Applies the slides for The End or the floating islands world type.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 function
|
||||
ARG 1 minY
|
||||
COMMENT the minimum block Y coordinate of the world
|
||||
ARG 2 maxY
|
||||
COMMENT the maximum block Y coordinate of the world
|
||||
METHOD method_42365 applySlides (Lnet/minecraft/class_6910;IIIIDIID)Lnet/minecraft/class_6910;
|
||||
COMMENT Interpolates the density at the top and bottom of the world.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 density
|
||||
COMMENT the base density function
|
||||
ARG 1 minY
|
||||
COMMENT the minimum block Y coordinate of the world
|
||||
ARG 2 maxY
|
||||
COMMENT the maximum block Y coordinate of the world
|
||||
ARG 3 topRelativeMinY
|
||||
COMMENT the minimum block Y of the top slide, subtracted from the top height
|
||||
ARG 4 topRelativeMaxY
|
||||
COMMENT the maximum block Y of the top slide, subtracted from the top height
|
||||
ARG 5 topDensity
|
||||
COMMENT the density at the top of the world. For height levels between the top-relative minimum and maximum heights, this is interpolated with the actual density
|
||||
ARG 7 bottomRelativeMinY
|
||||
COMMENT the minimum block Y of the bottom slide, added to the bottom height
|
||||
ARG 8 bottomRelativeMaxY
|
||||
COMMENT the maximum block Y of the bottom slide, added to the bottom height
|
||||
ARG 9 bottomDensity
|
||||
COMMENT the density at the bottom of the world. For height levels between the bottom-relative minimum and maximum heights, this is interpolated with the actual density
|
||||
METHOD method_42366 applySurfaceSlides (ZLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
COMMENT Applies the slides for the overworld and the surface world type.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 amplified
|
||||
COMMENT whether the amplified world type is used
|
||||
ARG 1 density
|
||||
COMMENT the base density function
|
||||
METHOD method_42367 applyEndSlides (Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
|
||||
COMMENT Applies the slides for The End.
|
||||
COMMENT
|
||||
COMMENT @return the created density function
|
||||
ARG 0 slopedCheese
|
||||
COMMENT the base density function
|
||||
METHOD method_44324 createMissingNoiseRouter ()Lnet/minecraft/class_6953;
|
||||
CLASS class_5841 CaveScaler
|
||||
METHOD method_33835 scaleCaves (D)D
|
||||
|
|
Loading…
Reference in New Issue