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 dyn
-
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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;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
Ldyn;s:Ldxz;
-
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
Ldyn;t:Ldxz;
-
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
Ldyn;u:Lakj;
-
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
Ldyn;v:Lakj;
-
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
Ldyn;w:Lakj;
-
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
Ldyn;x:Lakj;
-
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
Ldyn;y:Lakj;
-
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
Ldyn;z:Lakj;
-
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
Ldyn;A:Lakj;
-
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
Ldyn;d:Lakj;
-
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
Ldyn;e:Lakj;
-
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
Ldyn;f:Lakj;
-
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
Ldyn;g:Lakj;
-
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
Ldyn;h:Lakj;
-
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
Ldyn;i:Lakj;
-
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
Ldyn;j:Lakj;
-
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
Ldyn;k:Lakj;
-
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
Ldyn;B:Lakj;
-
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
Ldyn;l:Lakj;
-
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
Ldyn;m:Lakj;
-
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
Ldyn;C:Lakj;
-
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
Ldyn;D:Lakj;
-
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
Ldyn;E:Lakj;
-
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
Ldyn;F:Lakj;
-
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
Ldyn;G:Lakj;
-
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
Ldyn;H:Lakj;
-
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
Ldyn;I:Lakj;
-
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
Ldyn;J:Lakj;
-
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
Ldyn;K:Lakj;
-
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
Ldyn;L:Lakj;
-
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
Ldyn;M:Lakj;
-
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
Ldyn;N:Lakj;
-
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
Ldyn;O:Lakj;
-
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
Ldyn;P:Lakj;
-
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
Ldyn;Q:Lakj;
-
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
Ldyn;R:Lakj;
-
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
Ldyn;S:Lakj;
-
-
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
Ldyn;a(Ljava/lang/String;)Lakj;
-
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
Ldyn;a(Lqm;)Ljj;
-
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
Ldyn;a(Lqm;Ljk;Ldxz;Ljj;Ljj;Lakj;Lakj;Lakj;Lakj;Lakj;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
Ldyn;a(Lqm;Lakj;Ldxz;)Ldxz;
-
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
Ldyn;a(Ljk;Lakj;)Ldxz;
-
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
Ldyn;a(Ldxz;)Ldxz;
-
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
Ldyn;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
Ldyn;b(Ljk;)Ldxz;
-
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
Ldyn;d(Ljk;Ljk;)Ldxz;
-
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
Ldyn;e(Ljk;Ljk;)Ldxz;
-
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
Ldyn;c(Ljk;)Ldxz;
-
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
Ldyn;f(Ljk;Ljk;)Ldxz;
-
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
Ldyn;a(Ljk;Ljk;Ldxz;)Ldxz;
-
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
Ldyn;b(Ldxz;)Ldxz;
-
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
Ldyn;a(Ljk;Ljk;ZZ)Ldym;
-
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
Ldyn;b(Ljk;Ljk;Ldxz;)Ldym;
-
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
Ldyn;a(ZLdxz;)Ldxz;
-
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
Ldyn;a(Ljk;II)Ldxz;
-
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
Ldyn;a(Ldxz;II)Ldxz;
-
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
Ldyn;a(Ljk;Ljk;)Ldym;
-
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
Ldyn;b(Ljk;Ljk;)Ldym;
-
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
Ldyn;c(Ljk;Ljk;)Ldym;
-
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
Ldyn;c(Ldxz;)Ldxz;
-
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
Ldyn;a(Ljk;)Ldym;
-
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
Ldyn;a()Ldym;
-
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
Ldyn;a(Ldxz;Ldxz;)Ldxz;
-
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
Ldyn;b(Ldxz;Ldxz;)Ldxz;
-
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
Ldyn;a(Ldxz;Ldxz;III)Ldxz;
-
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
Ldyn;a(Ldxz;IIIIDIID)Ldxz;
-