Class NoiseRouterData
java.lang.Object
net.minecraft.world.level.levelgen.NoiseRouterData
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final DensityFunction
private static final DensityFunction
private static final double
static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> static final float
static final int
static final long
static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final double
static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final float
private static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> private static final double
private static final double
private static final ResourceKey
<DensityFunction> private static final ResourceKey
<DensityFunction> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Holder
<? extends DensityFunction> bootstrap
(BootstrapContext<DensityFunction> p_321740_) protected static NoiseRouter
caves
(HolderGetter<DensityFunction> p_256088_, HolderGetter<NormalNoise.NoiseParameters> p_255675_) private static ResourceKey
<DensityFunction> protected static NoiseRouter
end
(HolderGetter<DensityFunction> p_256079_) private static DensityFunction
entrances
(HolderGetter<DensityFunction> p_256511_, HolderGetter<NormalNoise.NoiseParameters> p_255899_) protected static NoiseRouter
floatingIslands
(HolderGetter<DensityFunction> p_256633_, HolderGetter<NormalNoise.NoiseParameters> p_255902_) private static DensityFunction
getFunction
(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) protected static NoiseRouter
nether
(HolderGetter<DensityFunction> p_256256_, HolderGetter<NormalNoise.NoiseParameters> p_256169_) private static DensityFunction
noiseGradientDensity
(DensityFunction p_212272_, DensityFunction p_212273_) protected static NoiseRouter
none()
private static NoiseRouter
noNewCaves
(HolderGetter<DensityFunction> p_255724_, HolderGetter<NormalNoise.NoiseParameters> p_255986_, DensityFunction p_256378_) private static DensityFunction
noodle
(HolderGetter<DensityFunction> p_256402_, HolderGetter<NormalNoise.NoiseParameters> p_255632_) protected static NoiseRouter
overworld
(HolderGetter<DensityFunction> p_255681_, HolderGetter<NormalNoise.NoiseParameters> p_256005_, boolean p_255649_, boolean p_255617_) static float
peaksAndValleys
(float p_224436_) private static DensityFunction
peaksAndValleys
(DensityFunction p_224438_) private static DensityFunction
pillars
(HolderGetter<NormalNoise.NoiseParameters> p_255985_) private static DensityFunction
postProcess
(DensityFunction p_224493_) private static DensityFunction
registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static void
registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) private static DensityFunction
slide
(DensityFunction p_224444_, int p_224445_, int p_224446_, int p_224447_, int p_224448_, double p_224449_, int p_224450_, int p_224451_, double p_224452_) private static DensityFunction
slideEnd
(DensityFunction p_224506_) private static DensityFunction
slideEndLike
(DensityFunction p_224440_, int p_224441_, int p_224442_) private static DensityFunction
slideNetherLike
(HolderGetter<DensityFunction> p_256084_, int p_255802_, int p_255834_) private static DensityFunction
slideOverworld
(boolean p_224490_, DensityFunction p_224491_) private static DensityFunction
spaghetti2D
(HolderGetter<DensityFunction> p_256535_, HolderGetter<NormalNoise.NoiseParameters> p_255650_) private static DensityFunction
private static DensityFunction
splineWithBlending
(DensityFunction p_224454_, DensityFunction p_224455_) private static DensityFunction
underground
(HolderGetter<DensityFunction> p_256548_, HolderGetter<NormalNoise.NoiseParameters> p_256236_, DensityFunction p_256658_) private static DensityFunction
yLimitedInterpolatable
(DensityFunction p_209472_, DensityFunction p_209473_, int p_209474_, int p_209475_, int p_209476_)
-
Field Details
-
GLOBAL_OFFSET
public static final float GLOBAL_OFFSET- See Also:
-
ORE_THICKNESS
private static final float ORE_THICKNESS- See Also:
-
VEININESS_FREQUENCY
private static final double VEININESS_FREQUENCY- See Also:
-
NOODLE_SPACING_AND_STRAIGHTNESS
private static final double NOODLE_SPACING_AND_STRAIGHTNESS- See Also:
-
SURFACE_DENSITY_THRESHOLD
private static final double SURFACE_DENSITY_THRESHOLD- See Also:
-
CHEESE_NOISE_TARGET
private static final double CHEESE_NOISE_TARGET- See Also:
-
ISLAND_CHUNK_DISTANCE
public static final int ISLAND_CHUNK_DISTANCE- See Also:
-
ISLAND_CHUNK_DISTANCE_SQR
public static final long ISLAND_CHUNK_DISTANCE_SQR- See Also:
-
BLENDING_FACTOR
-
BLENDING_JAGGEDNESS
-
ZERO
-
Y
-
SHIFT_X
-
SHIFT_Z
-
BASE_3D_NOISE_OVERWORLD
-
BASE_3D_NOISE_NETHER
-
BASE_3D_NOISE_END
-
CONTINENTS
-
EROSION
-
RIDGES
-
RIDGES_FOLDED
-
OFFSET
-
FACTOR
-
JAGGEDNESS
-
DEPTH
-
SLOPED_CHEESE
-
CONTINENTS_LARGE
-
EROSION_LARGE
-
OFFSET_LARGE
-
FACTOR_LARGE
-
JAGGEDNESS_LARGE
-
DEPTH_LARGE
-
SLOPED_CHEESE_LARGE
-
OFFSET_AMPLIFIED
-
FACTOR_AMPLIFIED
-
JAGGEDNESS_AMPLIFIED
-
DEPTH_AMPLIFIED
-
SLOPED_CHEESE_AMPLIFIED
-
SLOPED_CHEESE_END
-
SPAGHETTI_ROUGHNESS_FUNCTION
-
ENTRANCES
-
NOODLE
-
PILLARS
-
SPAGHETTI_2D_THICKNESS_MODULATOR
-
SPAGHETTI_2D
-
-
Constructor Details
-
NoiseRouterData
public NoiseRouterData()
-
-
Method Details
-
createKey
-
bootstrap
public static Holder<? extends DensityFunction> bootstrap(BootstrapContext<DensityFunction> p_321740_) -
registerTerrainNoises
private static void registerTerrainNoises(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) -
registerAndWrap
private static DensityFunction registerAndWrap(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) -
getFunction
private static DensityFunction getFunction(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) -
peaksAndValleys
-
peaksAndValleys
public static float peaksAndValleys(float p_224436_) -
spaghettiRoughnessFunction
private static DensityFunction spaghettiRoughnessFunction(HolderGetter<NormalNoise.NoiseParameters> p_255763_) -
entrances
private static DensityFunction entrances(HolderGetter<DensityFunction> p_256511_, HolderGetter<NormalNoise.NoiseParameters> p_255899_) -
noodle
private static DensityFunction noodle(HolderGetter<DensityFunction> p_256402_, HolderGetter<NormalNoise.NoiseParameters> p_255632_) -
pillars
-
spaghetti2D
private static DensityFunction spaghetti2D(HolderGetter<DensityFunction> p_256535_, HolderGetter<NormalNoise.NoiseParameters> p_255650_) -
underground
private static DensityFunction underground(HolderGetter<DensityFunction> p_256548_, HolderGetter<NormalNoise.NoiseParameters> p_256236_, DensityFunction p_256658_) -
postProcess
-
overworld
protected static NoiseRouter overworld(HolderGetter<DensityFunction> p_255681_, HolderGetter<NormalNoise.NoiseParameters> p_256005_, boolean p_255649_, boolean p_255617_) -
noNewCaves
private static NoiseRouter noNewCaves(HolderGetter<DensityFunction> p_255724_, HolderGetter<NormalNoise.NoiseParameters> p_255986_, DensityFunction p_256378_) -
slideOverworld
-
slideNetherLike
private static DensityFunction slideNetherLike(HolderGetter<DensityFunction> p_256084_, int p_255802_, int p_255834_) -
slideEndLike
private static DensityFunction slideEndLike(DensityFunction p_224440_, int p_224441_, int p_224442_) -
nether
protected static NoiseRouter nether(HolderGetter<DensityFunction> p_256256_, HolderGetter<NormalNoise.NoiseParameters> p_256169_) -
caves
protected static NoiseRouter caves(HolderGetter<DensityFunction> p_256088_, HolderGetter<NormalNoise.NoiseParameters> p_255675_) -
floatingIslands
protected static NoiseRouter floatingIslands(HolderGetter<DensityFunction> p_256633_, HolderGetter<NormalNoise.NoiseParameters> p_255902_) -
slideEnd
-
end
-
none
-
splineWithBlending
private static DensityFunction splineWithBlending(DensityFunction p_224454_, DensityFunction p_224455_) -
noiseGradientDensity
private static DensityFunction noiseGradientDensity(DensityFunction p_212272_, DensityFunction p_212273_) -
yLimitedInterpolatable
private static DensityFunction yLimitedInterpolatable(DensityFunction p_209472_, DensityFunction p_209473_, int p_209474_, int p_209475_, int p_209476_) -
slide
private static DensityFunction slide(DensityFunction p_224444_, int p_224445_, int p_224446_, int p_224447_, int p_224448_, double p_224449_, int p_224450_, int p_224451_, double p_224452_)
-