Package net.minecraft.data.worldgen
Class TerrainProvider
java.lang.Object
net.minecraft.data.worldgen.TerrainProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ToFloatFunction
<Float> private static final ToFloatFunction
<Float> private static final ToFloatFunction
<Float> private static final float
private static final float
private static final ToFloatFunction
<Float> private static final float
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> buildErosionJaggednessSpline
(I p_236614_, I p_236615_, I p_236616_, float p_236617_, float p_236618_, float p_236619_, float p_236620_, ToFloatFunction<Float> p_236621_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> buildErosionOffsetSpline
(I p_236596_, I p_236597_, float p_236598_, float p_236599_, float p_236600_, float p_236601_, float p_236602_, float p_236603_, boolean p_236604_, boolean p_236605_, ToFloatFunction<Float> p_236606_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> buildMountainRidgeSplineWithPoints
(I p_236591_, float p_236592_, boolean p_236593_, ToFloatFunction<Float> p_236594_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> buildRidgeJaggednessSpline
(I p_236608_, I p_236609_, float p_236610_, float p_236611_, ToFloatFunction<Float> p_236612_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> buildWeirdnessJaggednessSpline
(I p_236587_, float p_236588_, ToFloatFunction<Float> p_236589_) private static float
calculateMountainRidgeZeroContinentalnessPoint
(float p_236567_) private static float
calculateSlope
(float p_236573_, float p_236574_, float p_236575_, float p_236576_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> getErosionFactor
(I p_236623_, I p_236624_, I p_236625_, float p_236626_, boolean p_236627_, ToFloatFunction<Float> p_236628_) private static float
mountainContinentalness
(float p_236569_, float p_236570_, float p_236571_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> overworldFactor
(I p_236630_, I p_236631_, I p_236632_, I p_236633_, boolean p_236634_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> overworldJaggedness
(I p_236643_, I p_236644_, I p_236645_, I p_236646_, boolean p_236647_) static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> overworldOffset
(I p_236636_, I p_236637_, I p_236638_, boolean p_236639_) private static <C,
I extends ToFloatFunction<C>>
CubicSpline<C, I> ridgeSpline
(I p_236578_, float p_236579_, float p_236580_, float p_236581_, float p_236582_, float p_236583_, float p_236584_, ToFloatFunction<Float> p_236585_)
-
Field Details
-
DEEP_OCEAN_CONTINENTALNESS
private static final float DEEP_OCEAN_CONTINENTALNESS- See Also:
-
OCEAN_CONTINENTALNESS
private static final float OCEAN_CONTINENTALNESS- See Also:
-
PLAINS_CONTINENTALNESS
private static final float PLAINS_CONTINENTALNESS- See Also:
-
BEACH_CONTINENTALNESS
private static final float BEACH_CONTINENTALNESS- See Also:
-
NO_TRANSFORM
-
AMPLIFIED_OFFSET
-
AMPLIFIED_FACTOR
-
AMPLIFIED_JAGGEDNESS
-
-
Constructor Details
-
TerrainProvider
public TerrainProvider()
-
-
Method Details
-
overworldOffset
public static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> overworldOffset(I p_236636_, I p_236637_, I p_236638_, boolean p_236639_) -
overworldFactor
public static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> overworldFactor(I p_236630_, I p_236631_, I p_236632_, I p_236633_, boolean p_236634_) -
overworldJaggedness
public static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> overworldJaggedness(I p_236643_, I p_236644_, I p_236645_, I p_236646_, boolean p_236647_) -
buildErosionJaggednessSpline
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> buildErosionJaggednessSpline(I p_236614_, I p_236615_, I p_236616_, float p_236617_, float p_236618_, float p_236619_, float p_236620_, ToFloatFunction<Float> p_236621_) -
buildRidgeJaggednessSpline
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> buildRidgeJaggednessSpline(I p_236608_, I p_236609_, float p_236610_, float p_236611_, ToFloatFunction<Float> p_236612_) -
buildWeirdnessJaggednessSpline
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> buildWeirdnessJaggednessSpline(I p_236587_, float p_236588_, ToFloatFunction<Float> p_236589_) -
getErosionFactor
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> getErosionFactor(I p_236623_, I p_236624_, I p_236625_, float p_236626_, boolean p_236627_, ToFloatFunction<Float> p_236628_) -
calculateSlope
private static float calculateSlope(float p_236573_, float p_236574_, float p_236575_, float p_236576_) -
buildMountainRidgeSplineWithPoints
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> buildMountainRidgeSplineWithPoints(I p_236591_, float p_236592_, boolean p_236593_, ToFloatFunction<Float> p_236594_) -
mountainContinentalness
private static float mountainContinentalness(float p_236569_, float p_236570_, float p_236571_) -
calculateMountainRidgeZeroContinentalnessPoint
private static float calculateMountainRidgeZeroContinentalnessPoint(float p_236567_) -
buildErosionOffsetSpline
public static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> buildErosionOffsetSpline(I p_236596_, I p_236597_, float p_236598_, float p_236599_, float p_236600_, float p_236601_, float p_236602_, float p_236603_, boolean p_236604_, boolean p_236605_, ToFloatFunction<Float> p_236606_) -
ridgeSpline
private static <C,I extends ToFloatFunction<C>> CubicSpline<C,I> ridgeSpline(I p_236578_, float p_236579_, float p_236580_, float p_236581_, float p_236582_, float p_236583_, float p_236584_, ToFloatFunction<Float> p_236585_)
-