Class DensityFunctions
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctions
- Mappings:
Namespace Name named net/minecraft/world/gen/densityfunction/DensityFunctions
intermediary net/minecraft/class_6954
official dyc
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final float
private static final double
private static final double
private static final double
static final float
static final int
static final long
private static final double
static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final DensityFunction
private static final RegistryKey
<DensityFunction> private static final RegistryKey
<DensityFunction> private static final DensityFunction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static DensityFunction
applyBlendDensity
(DensityFunction density) private static DensityFunction
applyBlending
(DensityFunction function, DensityFunction blendOffset) private static DensityFunction
applyCavesSlides
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, int minY, int maxY) Applies the slides for the nether and the caves world type.private static DensityFunction
applyEndSlides
(DensityFunction slopedCheese) Applies the slides for The End.private static DensityFunction
applyFloatingIslandsSlides
(DensityFunction function, int minY, int maxY) Applies the slides for The End or the floating islands world type.private static DensityFunction
applySlides
(DensityFunction density, int minY, int maxY, int topRelativeMinY, int topRelativeMaxY, double topDensity, int bottomRelativeMinY, int bottomRelativeMaxY, double bottomDensity) Interpolates the density at the top and bottom of the world.private static DensityFunction
applySurfaceSlides
(boolean amplified, DensityFunction density) Applies the slides for the overworld and the surface world type.static RegistryEntry
<? extends DensityFunction> bootstrap
(Registerable<DensityFunction> densityFunctionRegisterable) private static DensityFunction
createCavePillarsOverworldFunction
(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
createCavesEntrancesOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
createCavesFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction slopedCheese) protected static NoiseRouter
createCavesNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the caves world type.private static DensityFunction
createCavesNoodleOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
createCavesSpaghetti2dOverworldFunction
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) private static DensityFunction
createCavesSpaghettiRoughnessOverworldFunction
(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) protected static NoiseRouter
createEndNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup) Creates theNoiseRouter
for The End.protected static NoiseRouter
createFloatingIslandsNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the floating islands world type.private static DensityFunction
createInitialDensityFunction
(DensityFunction factor, DensityFunction depth) protected static NoiseRouter
private static NoiseRouter
createMultiNoiseDependentNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction density) protected static NoiseRouter
createNetherNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the nether.private static DensityFunction
protected static NoiseRouter
createSurfaceNoiseRouter
(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, boolean largeBiomes, boolean amplified) Creates theNoiseRouter
for the overworld and the surface world type.private static DensityFunction
entryHolder
(RegistryEntryLookup<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key) static float
getPeaksValleysNoise
(float weirdness) private static RegistryKey
<DensityFunction> private static DensityFunction
registerAndGetHolder
(Registerable<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key, DensityFunction densityFunction) private static void
registerSlopedCheeseFunction
(Registerable<DensityFunction> densityFunctionRegisterable, RegistryEntryLookup<DensityFunction> densityFunctionLookup, DensityFunction jaggedNoise, RegistryEntry<DensityFunction> continents, RegistryEntry<DensityFunction> erosion, RegistryKey<DensityFunction> offsetKey, RegistryKey<DensityFunction> factorKey, RegistryKey<DensityFunction> jaggednessKey, RegistryKey<DensityFunction> depthKey, RegistryKey<DensityFunction> slopedCheeseKey, boolean amplified) Creates and registers thesloped_cheese
density function.private static DensityFunction
verticalRangeChoice
(DensityFunction y, DensityFunction whenInRange, int minInclusive, int maxInclusive, int whenOutOfRange)
-
Field Details
-
field_37690
public static final float field_37690- See Also:
- Mappings:
Namespace Name Mixin selector named field_37690
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37690:F
intermediary field_37690
Lnet/minecraft/class_6954;field_37690:F
official a
Ldyc;a:F
-
field_36614
private static final float field_36614- See Also:
- Mappings:
Namespace Name Mixin selector named field_36614
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36614:F
intermediary field_36614
Lnet/minecraft/class_6954;field_36614:F
official n
Ldyc;n:F
-
field_36615
private static final double field_36615- See Also:
- Mappings:
Namespace Name Mixin selector named field_36615
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36615:D
intermediary field_36615
Lnet/minecraft/class_6954;field_36615:D
official o
Ldyc;o:D
-
field_36616
private static final double field_36616- See Also:
- Mappings:
Namespace Name Mixin selector named field_36616
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36616:D
intermediary field_36616
Lnet/minecraft/class_6954;field_36616:D
official p
Ldyc;p:D
-
field_36617
private static final double field_36617- See Also:
- Mappings:
Namespace Name Mixin selector named field_36617
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36617:D
intermediary field_36617
Lnet/minecraft/class_6954;field_36617:D
official q
Ldyc;q:D
-
field_38250
private static final double field_38250- See Also:
- Mappings:
Namespace Name Mixin selector named field_38250
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_38250:D
intermediary field_38250
Lnet/minecraft/class_6954;field_38250:D
official r
Ldyc;r:D
-
field_37691
public static final int field_37691- See Also:
- Mappings:
Namespace Name Mixin selector named field_37691
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37691:I
intermediary field_37691
Lnet/minecraft/class_6954;field_37691:I
official b
Ldyc;b:I
-
field_37692
public static final long field_37692- See Also:
- Mappings:
Namespace Name Mixin selector named field_37692
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37692:J
intermediary field_37692
Lnet/minecraft/class_6954;field_37692:J
official c
Ldyc;c:J
-
TEN_FUNCTION
- Mappings:
Namespace Name Mixin selector named TEN_FUNCTION
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;TEN_FUNCTION:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_36618
Lnet/minecraft/class_6954;field_36618:Lnet/minecraft/class_6910;
official s
Ldyc;s:Ldxo;
-
ZERO_FUNCTION
- Mappings:
Namespace Name Mixin selector named ZERO_FUNCTION
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;ZERO_FUNCTION:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary field_36619
Lnet/minecraft/class_6954;field_36619:Lnet/minecraft/class_6910;
official t
Ldyc;t:Ldxo;
-
ZERO
- Mappings:
Namespace Name Mixin selector named ZERO
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;ZERO:Lnet/minecraft/registry/RegistryKey;
intermediary field_37117
Lnet/minecraft/class_6954;field_37117:Lnet/minecraft/class_5321;
official u
Ldyc;u:Lale;
-
Y
- Mappings:
Namespace Name Mixin selector named Y
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;Y:Lnet/minecraft/registry/RegistryKey;
intermediary field_37118
Lnet/minecraft/class_6954;field_37118:Lnet/minecraft/class_5321;
official v
Ldyc;v:Lale;
-
SHIFT_X
- Mappings:
Namespace Name Mixin selector named SHIFT_X
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SHIFT_X:Lnet/minecraft/registry/RegistryKey;
intermediary field_37119
Lnet/minecraft/class_6954;field_37119:Lnet/minecraft/class_5321;
official w
Ldyc;w:Lale;
-
SHIFT_Z
- Mappings:
Namespace Name Mixin selector named SHIFT_Z
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SHIFT_Z:Lnet/minecraft/registry/RegistryKey;
intermediary field_37120
Lnet/minecraft/class_6954;field_37120:Lnet/minecraft/class_5321;
official x
Ldyc;x:Lale;
-
BASE_3D_NOISE_OVERWORLD
- Mappings:
Namespace Name Mixin selector named BASE_3D_NOISE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_38251
Lnet/minecraft/class_6954;field_38251:Lnet/minecraft/class_5321;
official y
Ldyc;y:Lale;
-
BASE_3D_NOISE_NETHER
- Mappings:
Namespace Name Mixin selector named BASE_3D_NOISE_NETHER
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_NETHER:Lnet/minecraft/registry/RegistryKey;
intermediary field_38252
Lnet/minecraft/class_6954;field_38252:Lnet/minecraft/class_5321;
official z
Ldyc;z:Lale;
-
BASE_3D_NOISE_END
- Mappings:
Namespace Name Mixin selector named BASE_3D_NOISE_END
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_END:Lnet/minecraft/registry/RegistryKey;
intermediary field_38249
Lnet/minecraft/class_6954;field_38249:Lnet/minecraft/class_5321;
official A
Ldyc;A:Lale;
-
CONTINENTS_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CONTINENTS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CONTINENTS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37122
Lnet/minecraft/class_6954;field_37122:Lnet/minecraft/class_5321;
official d
Ldyc;d:Lale;
-
EROSION_OVERWORLD
- Mappings:
Namespace Name Mixin selector named EROSION_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;EROSION_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37123
Lnet/minecraft/class_6954;field_37123:Lnet/minecraft/class_5321;
official e
Ldyc;e:Lale;
-
RIDGES_OVERWORLD
- Mappings:
Namespace Name Mixin selector named RIDGES_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;RIDGES_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37124
Lnet/minecraft/class_6954;field_37124:Lnet/minecraft/class_5321;
official f
Ldyc;f:Lale;
-
RIDGES_FOLDED_OVERWORLD
- Mappings:
Namespace Name Mixin selector named RIDGES_FOLDED_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;RIDGES_FOLDED_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37693
Lnet/minecraft/class_6954;field_37693:Lnet/minecraft/class_5321;
official g
Ldyc;g:Lale;
-
OFFSET_OVERWORLD
- Mappings:
Namespace Name Mixin selector named OFFSET_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37694
Lnet/minecraft/class_6954;field_37694:Lnet/minecraft/class_5321;
official h
Ldyc;h:Lale;
-
FACTOR_OVERWORLD
- Mappings:
Namespace Name Mixin selector named FACTOR_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37125
Lnet/minecraft/class_6954;field_37125:Lnet/minecraft/class_5321;
official i
Ldyc;i:Lale;
-
JAGGEDNESS_OVERWORLD
- Mappings:
Namespace Name Mixin selector named JAGGEDNESS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37695
Lnet/minecraft/class_6954;field_37695:Lnet/minecraft/class_5321;
official j
Ldyc;j:Lale;
-
DEPTH_OVERWORLD
- Mappings:
Namespace Name Mixin selector named DEPTH_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37126
Lnet/minecraft/class_6954;field_37126:Lnet/minecraft/class_5321;
official k
Ldyc;k:Lale;
-
SLOPED_CHEESE_OVERWORLD
- Mappings:
Namespace Name Mixin selector named SLOPED_CHEESE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37127
Lnet/minecraft/class_6954;field_37127:Lnet/minecraft/class_5321;
official B
Ldyc;B:Lale;
-
CONTINENTS_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named CONTINENTS_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CONTINENTS_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37128
Lnet/minecraft/class_6954;field_37128:Lnet/minecraft/class_5321;
official l
Ldyc;l:Lale;
-
EROSION_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named EROSION_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;EROSION_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37129
Lnet/minecraft/class_6954;field_37129:Lnet/minecraft/class_5321;
official m
Ldyc;m:Lale;
-
OFFSET_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named OFFSET_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37696
Lnet/minecraft/class_6954;field_37696:Lnet/minecraft/class_5321;
official C
Ldyc;C:Lale;
-
FACTOR_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named FACTOR_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37130
Lnet/minecraft/class_6954;field_37130:Lnet/minecraft/class_5321;
official D
Ldyc;D:Lale;
-
JAGGEDNESS_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named JAGGEDNESS_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37684
Lnet/minecraft/class_6954;field_37684:Lnet/minecraft/class_5321;
official E
Ldyc;E:Lale;
-
DEPTH_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named DEPTH_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37131
Lnet/minecraft/class_6954;field_37131:Lnet/minecraft/class_5321;
official F
Ldyc;F:Lale;
-
SLOPED_CHEESE_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector named SLOPED_CHEESE_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
intermediary field_37132
Lnet/minecraft/class_6954;field_37132:Lnet/minecraft/class_5321;
official G
Ldyc;G:Lale;
-
OFFSET_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector named OFFSET_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
intermediary field_37685
Lnet/minecraft/class_6954;field_37685:Lnet/minecraft/class_5321;
official H
Ldyc;H:Lale;
-
FACTOR_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector named FACTOR_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
intermediary field_37686
Lnet/minecraft/class_6954;field_37686:Lnet/minecraft/class_5321;
official I
Ldyc;I:Lale;
-
JAGGEDNESS_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector named JAGGEDNESS_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
intermediary field_37687
Lnet/minecraft/class_6954;field_37687:Lnet/minecraft/class_5321;
official J
Ldyc;J:Lale;
-
DEPTH_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector named DEPTH_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
intermediary field_37688
Lnet/minecraft/class_6954;field_37688:Lnet/minecraft/class_5321;
official K
Ldyc;K:Lale;
-
SLOPED_CHEESE_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector named SLOPED_CHEESE_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
intermediary field_37689
Lnet/minecraft/class_6954;field_37689:Lnet/minecraft/class_5321;
official L
Ldyc;L:Lale;
-
SLOPED_CHEESE_END
- Mappings:
Namespace Name Mixin selector named SLOPED_CHEESE_END
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_END:Lnet/minecraft/registry/RegistryKey;
intermediary field_37133
Lnet/minecraft/class_6954;field_37133:Lnet/minecraft/class_5321;
official M
Ldyc;M:Lale;
-
CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37134
Lnet/minecraft/class_6954;field_37134:Lnet/minecraft/class_5321;
official N
Ldyc;N:Lale;
-
CAVES_ENTRANCES_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_ENTRANCES_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_ENTRANCES_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37135
Lnet/minecraft/class_6954;field_37135:Lnet/minecraft/class_5321;
official O
Ldyc;O:Lale;
-
CAVES_NOODLE_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_NOODLE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_NOODLE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37136
Lnet/minecraft/class_6954;field_37136:Lnet/minecraft/class_5321;
official P
Ldyc;P:Lale;
-
CAVES_PILLARS_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_PILLARS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_PILLARS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37114
Lnet/minecraft/class_6954;field_37114:Lnet/minecraft/class_5321;
official Q
Ldyc;Q:Lale;
-
CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37115
Lnet/minecraft/class_6954;field_37115:Lnet/minecraft/class_5321;
official R
Ldyc;R:Lale;
-
CAVES_SPAGHETTI_2D_OVERWORLD
- Mappings:
Namespace Name Mixin selector named CAVES_SPAGHETTI_2D_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_2D_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
intermediary field_37116
Lnet/minecraft/class_6954;field_37116:Lnet/minecraft/class_5321;
official S
Ldyc;S:Lale;
-
-
Constructor Details
-
DensityFunctions
public DensityFunctions()
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
intermediary method_41109
Lnet/minecraft/class_6954;method_41109(Ljava/lang/String;)Lnet/minecraft/class_5321;
official a
Ldyc;a(Ljava/lang/String;)Lale;
-
bootstrap
public static RegistryEntry<? extends DensityFunction> bootstrap(Registerable<DensityFunction> densityFunctionRegisterable) - Mappings:
Namespace Name Mixin selector named bootstrap
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;bootstrap(Lnet/minecraft/registry/Registerable;)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_41100
Lnet/minecraft/class_6954;method_41100(Lnet/minecraft/class_7891;)Lnet/minecraft/class_6880;
official a
Ldyc;a(Lrc;)Lji;
-
registerSlopedCheeseFunction
private static void registerSlopedCheeseFunction(Registerable<DensityFunction> densityFunctionRegisterable, RegistryEntryLookup<DensityFunction> densityFunctionLookup, DensityFunction jaggedNoise, RegistryEntry<DensityFunction> continents, RegistryEntry<DensityFunction> erosion, RegistryKey<DensityFunction> offsetKey, RegistryKey<DensityFunction> factorKey, RegistryKey<DensityFunction> jaggednessKey, RegistryKey<DensityFunction> depthKey, RegistryKey<DensityFunction> slopedCheeseKey, boolean amplified) Creates and registers thesloped_cheese
density function. This is used for the normal, large biomes and amplified world types.- Mappings:
Namespace Name Mixin selector named registerSlopedCheeseFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;registerSlopedCheeseFunction(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/RegistryKey;Z)V
intermediary method_41548
Lnet/minecraft/class_6954;method_41548(Lnet/minecraft/class_7891;Lnet/minecraft/class_7871;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
official a
Ldyc;a(Lrc;Ljj;Ldxo;Lji;Lji;Lale;Lale;Lale;Lale;Lale;Z)V
-
registerAndGetHolder
private static DensityFunction registerAndGetHolder(Registerable<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key, DensityFunction densityFunction) - Mappings:
Namespace Name Mixin selector named registerAndGetHolder
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;registerAndGetHolder(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41551
Lnet/minecraft/class_6954;method_41551(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldyc;a(Lrc;Lale;Ldxo;)Ldxo;
-
entryHolder
private static DensityFunction entryHolder(RegistryEntryLookup<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key) - Mappings:
Namespace Name Mixin selector named entryHolder
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;entryHolder(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41116
Lnet/minecraft/class_6954;method_41116(Lnet/minecraft/class_7871;Lnet/minecraft/class_5321;)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ljj;Lale;)Ldxo;
-
createRidgesFoldedOverworldFunction
- Mappings:
Namespace Name Mixin selector named createRidgesFoldedOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createRidgesFoldedOverworldFunction(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41547
Lnet/minecraft/class_6954;method_41547(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ldxo;)Ldxo;
-
getPeaksValleysNoise
public static float getPeaksValleysNoise(float weirdness) - Mappings:
Namespace Name Mixin selector named getPeaksValleysNoise
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;getPeaksValleysNoise(F)F
intermediary method_41546
Lnet/minecraft/class_6954;method_41546(F)F
official a
Ldyc;a(F)F
-
createCavesSpaghettiRoughnessOverworldFunction
private static DensityFunction createCavesSpaghettiRoughnessOverworldFunction(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector named createCavesSpaghettiRoughnessOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesSpaghettiRoughnessOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41113
Lnet/minecraft/class_6954;method_41113(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
official b
Ldyc;b(Ljj;)Ldxo;
-
createCavesEntrancesOverworldFunction
private static DensityFunction createCavesEntrancesOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector named createCavesEntrancesOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesEntrancesOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41117
Lnet/minecraft/class_6954;method_41117(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
official d
Ldyc;d(Ljj;Ljj;)Ldxo;
-
createCavesNoodleOverworldFunction
private static DensityFunction createCavesNoodleOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector named createCavesNoodleOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesNoodleOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41119
Lnet/minecraft/class_6954;method_41119(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
official e
Ldyc;e(Ljj;Ljj;)Ldxo;
-
createCavePillarsOverworldFunction
private static DensityFunction createCavePillarsOverworldFunction(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector named createCavePillarsOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavePillarsOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41121
Lnet/minecraft/class_6954;method_41121(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
official c
Ldyc;c(Ljj;)Ldxo;
-
createCavesSpaghetti2dOverworldFunction
private static DensityFunction createCavesSpaghetti2dOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector named createCavesSpaghetti2dOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesSpaghetti2dOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41122
Lnet/minecraft/class_6954;method_41122(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
official f
Ldyc;f(Ljj;Ljj;)Ldxo;
-
createCavesFunction
private static DensityFunction createCavesFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction slopedCheese) - Mappings:
Namespace Name Mixin selector named createCavesFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41101
Lnet/minecraft/class_6954;method_41101(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ljj;Ljj;Ldxo;)Ldxo;
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector named applyBlendDensity
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_41207
Lnet/minecraft/class_6954;method_41207(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official b
Ldyc;b(Ldxo;)Ldxo;
-
createSurfaceNoiseRouter
protected static NoiseRouter createSurfaceNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, boolean largeBiomes, boolean amplified) Creates theNoiseRouter
for the overworld and the surface world type.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector named createSurfaceNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createSurfaceNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;ZZ)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41103
Lnet/minecraft/class_6954;method_41103(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;ZZ)Lnet/minecraft/class_6953;
official a
Ldyc;a(Ljj;Ljj;ZZ)Ldyb;
-
createMultiNoiseDependentNoiseRouter
private static NoiseRouter createMultiNoiseDependentNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction density) - Mappings:
Namespace Name Mixin selector named createMultiNoiseDependentNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createMultiNoiseDependentNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41211
Lnet/minecraft/class_6954;method_41211(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6953;
official b
Ldyc;b(Ljj;Ljj;Ldxo;)Ldyb;
-
applySurfaceSlides
Applies the slides for the overworld and the surface world type.- Parameters:
amplified
- whether the amplified world type is useddensity
- the base density function- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector named applySurfaceSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applySurfaceSlides(ZLnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_42366
Lnet/minecraft/class_6954;method_42366(ZLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldyc;a(ZLdxo;)Ldxo;
-
applyCavesSlides
private static DensityFunction applyCavesSlides(RegistryEntryLookup<DensityFunction> densityFunctionLookup, int minY, int maxY) Applies the slides for the nether and the caves world type.- Parameters:
minY
- the minimum block Y coordinate of the worldmaxY
- the maximum block Y coordinate of the world- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector named applyCavesSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyCavesSlides(Lnet/minecraft/registry/RegistryEntryLookup;II)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_42363
Lnet/minecraft/class_6954;method_42363(Lnet/minecraft/class_7871;II)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ljj;II)Ldxo;
-
applyFloatingIslandsSlides
private static DensityFunction applyFloatingIslandsSlides(DensityFunction function, int minY, int maxY) Applies the slides for The End or the floating islands world type.- Parameters:
minY
- the minimum block Y coordinate of the worldmaxY
- the maximum block Y coordinate of the world- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector named applyFloatingIslandsSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyFloatingIslandsSlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;II)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_42364
Lnet/minecraft/class_6954;method_42364(Lnet/minecraft/class_6910;II)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ldxo;II)Ldxo;
-
createNetherNoiseRouter
protected static NoiseRouter createNetherNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the nether.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector named createNetherNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createNetherNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41118
Lnet/minecraft/class_6954;method_41118(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
official a
Ldyc;a(Ljj;Ljj;)Ldyb;
-
createCavesNoiseRouter
protected static NoiseRouter createCavesNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the caves world type.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector named createCavesNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41549
Lnet/minecraft/class_6954;method_41549(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
official b
Ldyc;b(Ljj;Ljj;)Ldyb;
-
createFloatingIslandsNoiseRouter
protected static NoiseRouter createFloatingIslandsNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) Creates theNoiseRouter
for the floating islands world type.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector named createFloatingIslandsNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createFloatingIslandsNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41552
Lnet/minecraft/class_6954;method_41552(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
official c
Ldyc;c(Ljj;Ljj;)Ldyb;
-
applyEndSlides
Applies the slides for The End.- Parameters:
slopedCheese
- the base density function- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector named applyEndSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyEndSlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_42367
Lnet/minecraft/class_6954;method_42367(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official c
Ldyc;c(Ldxo;)Ldxo;
-
createEndNoiseRouter
protected static NoiseRouter createEndNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup) Creates theNoiseRouter
for The End.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector named createEndNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createEndNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41120
Lnet/minecraft/class_6954;method_41120(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
official a
Ldyc;a(Ljj;)Ldyb;
-
createMissingNoiseRouter
- Mappings:
Namespace Name Mixin selector named createMissingNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createMissingNoiseRouter()Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_44324
Lnet/minecraft/class_6954;method_44324()Lnet/minecraft/class_6953;
official a
Ldyc;a()Ldyb;
-
applyBlending
- Mappings:
Namespace Name Mixin selector named applyBlending
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyBlending(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40541
Lnet/minecraft/class_6954;method_40541(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ldxo;Ldxo;)Ldxo;
-
createInitialDensityFunction
private static DensityFunction createInitialDensityFunction(DensityFunction factor, DensityFunction depth) - Mappings:
Namespace Name Mixin selector named createInitialDensityFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createInitialDensityFunction(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40540
Lnet/minecraft/class_6954;method_40540(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
official b
Ldyc;b(Ldxo;Ldxo;)Ldxo;
-
verticalRangeChoice
private static DensityFunction verticalRangeChoice(DensityFunction y, DensityFunction whenInRange, int minInclusive, int maxInclusive, int whenOutOfRange) - Mappings:
Namespace Name Mixin selector named verticalRangeChoice
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;verticalRangeChoice(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;III)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_40539
Lnet/minecraft/class_6954;method_40539(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;III)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ldxo;Ldxo;III)Ldxo;
-
applySlides
private static DensityFunction applySlides(DensityFunction density, int minY, int maxY, int topRelativeMinY, int topRelativeMaxY, double topDensity, int bottomRelativeMinY, int bottomRelativeMaxY, double bottomDensity) Interpolates the density at the top and bottom of the world.- Parameters:
density
- the base density functionminY
- the minimum block Y coordinate of the worldmaxY
- the maximum block Y coordinate of the worldtopRelativeMinY
- the minimum block Y of the top slide, subtracted from the top heighttopRelativeMaxY
- the maximum block Y of the top slide, subtracted from the top heighttopDensity
- 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 densitybottomRelativeMinY
- the minimum block Y of the bottom slide, added to the bottom heightbottomRelativeMaxY
- the maximum block Y of the bottom slide, added to the bottom heightbottomDensity
- 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- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector named applySlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applySlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;IIIIDIID)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
intermediary method_42365
Lnet/minecraft/class_6954;method_42365(Lnet/minecraft/class_6910;IIIIDIID)Lnet/minecraft/class_6910;
official a
Ldyc;a(Ldxo;IIIIDIID)Ldxo;
-