net.minecraft.world.level.biome

public record TerrainShaper

cce
net.minecraft.world.level.biome.TerrainShaper
net.minecraft.class_6555
net.minecraft.world.biome.source.util.VanillaTerrainParameters
net.minecraft.src.C_182871_
net.minecraft.world.level.biome.TerrainShaper

Field summary

Modifier and TypeField
private final CubicSpline<TerrainShaper$Point>
c
offsetSampler
comp_464
offsetSpline
f_187256_
private final CubicSpline<TerrainShaper$Point>
d
factorSampler
comp_465
factorSpline
f_187257_
private final CubicSpline<TerrainShaper$Point>
e
jaggednessSampler
comp_466
peakSpline
f_187258_
private static final com.mojang.serialization.Codec<CubicSpline<TerrainShaper$Point>>
f
SPLINE_CODEC
field_35457
field_35457
f_187253_
public static final com.mojang.serialization.Codec<CubicSpline<TerrainShaper$PointCustom>>
a
SPLINE_CUSTOM_CODEC
field_37252
field_37252
f_211598_
public static final com.mojang.serialization.Codec<TerrainShaper>
b
CODEC
field_35456
CODEC
f_187252_
private static final float
g
GLOBAL_OFFSET
field_34531
OFFSET_VALUE_OFFSET
f_187254_
private static final ToFloatFunction<Float>
h
NO_TRANSFORM
field_35673
field_35673
f_187255_

Constructor summary

ModifierConstructor
public (CubicSpline<TerrainShaper$Point> offsetSpline, CubicSpline<TerrainShaper$Point> factorSpline, CubicSpline<TerrainShaper$Point> peakSpline)

Method summary

Modifier and TypeMethod
private static float
b(float arg0)
getAmplifiedOffset(float arg0)
method_39534(float arg0)
method_39534(float arg0)
m_187324_(float p_187325_)
private static float
c(float arg0)
getAmplifiedFactor(float arg0)
method_39535(float arg0)
method_39535(float arg0)
m_187337_(float p_187338_)
private static float
d(float arg0)
getAmplifiedJaggedness(float arg0)
method_39536(float arg0)
method_39536(float arg0)
m_187341_(float p_187342_)
public static TerrainShaper
a(boolean arg0)
overworld(boolean arg0)
method_39457(boolean arg0)
createSurfaceParameters(boolean amplified)
m_187321_(boolean p_187322_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, float arg1, float arg2, float arg3, ajy<Float> arg4)
buildErosionJaggednessSpline(float arg0, float arg1, float arg2, float arg3, ToFloatFunction<Float> arg4)
method_38856(float arg0, float arg1, float arg2, float arg3, class_6501<Float> arg4)
method_38856(float arg0, float arg1, float arg2, float arg3, ToFloatFunction<Float> arg4)
m_187294_(float p_187295_, float p_187296_, float p_187297_, float p_187298_, C_182789_<Float> p_187299_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, float arg1, ajy<Float> arg2)
buildRidgeJaggednessSpline(float arg0, float arg1, ToFloatFunction<Float> arg2)
method_38855(float arg0, float arg1, class_6501<Float> arg2)
method_38855(float arg0, float arg1, ToFloatFunction<Float> arg2)
m_187300_(float p_187301_, float p_187302_, C_182789_<Float> p_187303_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, ajy<Float> arg1)
buildWeirdnessJaggednessSpline(float arg0, ToFloatFunction<Float> arg1)
method_38857(float arg0, class_6501<Float> arg1)
method_38857(float arg0, ToFloatFunction<Float> arg1)
m_187304_(float p_187305_, C_182789_<Float> p_187306_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, boolean arg1, ajy<Float> arg2)
getErosionFactor(float arg0, boolean arg1, ToFloatFunction<Float> arg2)
method_38213(float arg0, boolean arg1, class_6501<Float> arg2)
buildErosionFactorSpline(float value, boolean arg1, ToFloatFunction<Float> arg2)
m_187307_(float p_187308_, boolean p_187309_, C_182789_<Float> p_187310_)
private static float
a(float arg0, float arg1, float arg2, float arg3)
calculateSlope(float arg0, float arg1, float arg2, float arg3)
method_38210(float arg0, float arg1, float arg2, float arg3)
method_38210(float arg0, float arg1, float arg2, float arg3)
m_187271_(float p_187272_, float p_187273_, float p_187274_, float p_187275_)
private static CubicSpline<TerrainShaper$Point>
b(float arg0, boolean arg1, ajy<Float> arg2)
buildMountainRidgeSplineWithPoints(float arg0, boolean arg1, ToFloatFunction<Float> arg2)
method_38219(float arg0, boolean arg1, class_6501<Float> arg2)
method_38219(float arg0, boolean arg1, ToFloatFunction<Float> arg2)
m_187330_(float p_187331_, boolean p_187332_, C_182789_<Float> p_187333_)
private static float
b(float arg0, float arg1, float arg2)
mountainContinentalness(float arg0, float arg1, float arg2)
method_38218(float arg0, float arg1, float arg2)
getOffsetValue(float weirdness, float continentalness, float weirdnessThreshold)
m_187326_(float p_187327_, float p_187328_, float p_187329_)
private static float
e(float arg0)
calculateMountainRidgeZeroContinentalnessPoint(float arg0)
method_38217(float arg0)
method_38217(float continentalness)
m_187343_(float p_187344_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, boolean arg6, boolean arg7, ajy<Float> arg8)
buildErosionOffsetSpline(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, boolean arg6, boolean arg7, ToFloatFunction<Float> arg8)
method_38212(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, boolean arg6, boolean arg7, class_6501<Float> arg8)
createLandSpline(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, boolean arg6, boolean arg7, ToFloatFunction<Float> arg8)
m_187284_(float p_187285_, float p_187286_, float p_187287_, float p_187288_, float p_187289_, float p_187290_, boolean p_187291_, boolean p_187292_, C_182789_<Float> p_187293_)
private static CubicSpline<TerrainShaper$Point>
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, ajy<Float> arg6)
ridgeSpline(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, ToFloatFunction<Float> arg6)
method_38211(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, class_6501<Float> arg6)
createFlatOffsetSpline(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, ToFloatFunction<Float> arg6)
m_187276_(float p_187277_, float p_187278_, float p_187279_, float p_187280_, float p_187281_, float p_187282_, C_182789_<Float> p_187283_)
public void
a(Consumer<com.mojang.datafixers.util.Pair<cbz$d, ys<cbr>>> arg0)
addDebugBiomesToVisualizeSplinePoints(Consumer<com.mojang.datafixers.util.Pair<Climate$ParameterPoint, ResourceKey<Biome>>> arg0)
method_38215(Consumer<com.mojang.datafixers.util.Pair<class_6544$class_4762, class_5321<class_1959>>> arg0)
writeDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil$NoiseHypercube, RegistryKey<Biome>>> parameters)
m_187319_(Consumer<com.mojang.datafixers.util.Pair<C_182857_$C_182861_, C_5264_<C_1629_>>> arg0)
public CubicSpline<TerrainShaper$Point>
a()
offsetSampler()
comp_464()
offsetSpline()
f_187256_()
public CubicSpline<TerrainShaper$Point>
b()
factorSampler()
comp_465()
factorSpline()
f_187257_()
public CubicSpline<TerrainShaper$Point>
c()
jaggednessSampler()
comp_466()
peakSpline()
f_187258_()
public float
a(cce$c arg0)
offset(TerrainShaper$Point arg0)
method_38214(class_6555$class_6556 arg0)
getOffset(VanillaTerrainParameters$NoisePoint point)
m_187311_(C_182871_$C_182873_ arg0)
public float
b(cce$c arg0)
factor(TerrainShaper$Point arg0)
method_38220(class_6555$class_6556 arg0)
getFactor(VanillaTerrainParameters$NoisePoint point)
m_187334_(C_182871_$C_182873_ arg0)
public float
c(cce$c arg0)
jaggedness(TerrainShaper$Point arg0)
method_38221(class_6555$class_6556 arg0)
getPeak(VanillaTerrainParameters$NoisePoint point)
m_187339_(C_182871_$C_182873_ arg0)
public static TerrainShaper$Point
a(float arg0, float arg1, float arg2)
makePoint(float arg0, float arg1, float arg2)
method_38209(float arg0, float arg1, float arg2)
createNoisePoint(float arg0, float arg1, float arg2)
m_187267_(float p_187268_, float p_187269_, float p_187270_)
public static TerrainShaper$PointCustom
a(ctp$b arg0)
makePoint(DensityFunction$FunctionContext arg0)
method_41191(class_6910$class_6912 arg0)
method_41191(DensityFunction$NoisePos arg0)
m_211599_(C_206962_$C_206964_ p_211600_)
public static float
a(float arg0)
peaksAndValleys(float arg0)
method_38208(float arg0)
getNormalizedWeirdness(float weirdness)
m_187265_(float p_187266_)