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 edw
-
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
Ledw;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
Ledw;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
Ledw;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
Ledw;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
Ledw;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
Ledw;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
Ledw;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
Ledw;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
Ledw;s:Ledi;
-
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
Ledw;t:Ledi;
-
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
Ledw;u:Laly;
-
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
Ledw;v:Laly;
-
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
Ledw;w:Laly;
-
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
Ledw;x:Laly;
-
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
Ledw;y:Laly;
-
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
Ledw;z:Laly;
-
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
Ledw;A:Laly;
-
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
Ledw;d:Laly;
-
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
Ledw;e:Laly;
-
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
Ledw;f:Laly;
-
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
Ledw;g:Laly;
-
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
Ledw;h:Laly;
-
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
Ledw;i:Laly;
-
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
Ledw;j:Laly;
-
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
Ledw;k:Laly;
-
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
Ledw;B:Laly;
-
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
Ledw;l:Laly;
-
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
Ledw;m:Laly;
-
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
Ledw;C:Laly;
-
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
Ledw;D:Laly;
-
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
Ledw;E:Laly;
-
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
Ledw;F:Laly;
-
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
Ledw;G:Laly;
-
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
Ledw;H:Laly;
-
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
Ledw;I:Laly;
-
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
Ledw;J:Laly;
-
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
Ledw;K:Laly;
-
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
Ledw;L:Laly;
-
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
Ledw;M:Laly;
-
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
Ledw;N:Laly;
-
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
Ledw;O:Laly;
-
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
Ledw;P:Laly;
-
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
Ledw;Q:Laly;
-
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
Ledw;R:Laly;
-
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
Ledw;S:Laly;
-
-
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
Ledw;a(Ljava/lang/String;)Laly;
-
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
Ledw;a(Lrk;)Ljq;
-
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
Ledw;a(Lrk;Ljr;Ledi;Ljq;Ljq;Laly;Laly;Laly;Laly;Laly;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
Ledw;a(Lrk;Laly;Ledi;)Ledi;
-
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
Ledw;a(Ljr;Laly;)Ledi;
-
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
Ledw;a(Ledi;)Ledi;
-
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
Ledw;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
Ledw;b(Ljr;)Ledi;
-
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
Ledw;d(Ljr;Ljr;)Ledi;
-
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
Ledw;e(Ljr;Ljr;)Ledi;
-
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
Ledw;c(Ljr;)Ledi;
-
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
Ledw;f(Ljr;Ljr;)Ledi;
-
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
Ledw;a(Ljr;Ljr;Ledi;)Ledi;
-
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
Ledw;b(Ledi;)Ledi;
-
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
Ledw;a(Ljr;Ljr;ZZ)Ledv;
-
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
Ledw;b(Ljr;Ljr;Ledi;)Ledv;
-
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
Ledw;a(ZLedi;)Ledi;
-
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
Ledw;a(Ljr;II)Ledi;
-
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
Ledw;a(Ledi;II)Ledi;
-
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
Ledw;a(Ljr;Ljr;)Ledv;
-
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
Ledw;b(Ljr;Ljr;)Ledv;
-
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
Ledw;c(Ljr;Ljr;)Ledv;
-
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
Ledw;c(Ledi;)Ledi;
-
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
Ledw;a(Ljr;)Ledv;
-
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
Ledw;a()Ledv;
-
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
Ledw;a(Ledi;Ledi;)Ledi;
-
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
Ledw;b(Ledi;Ledi;)Ledi;
-
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
Ledw;a(Ledi;Ledi;III)Ledi;
-
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
Ledw;a(Ledi;IIIIDIID)Ledi;
-