Class DensityFunctions
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctions
- Mappings:
Namespace Name official dhr
intermediary net/minecraft/class_6954
named net/minecraft/world/gen/densityfunction/DensityFunctions
-
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 official a
Ldhr;a:F
intermediary field_37690
Lnet/minecraft/class_6954;field_37690:F
named field_37690
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37690:F
-
field_36614
private static final float field_36614- See Also:
- Mappings:
Namespace Name Mixin selector official n
Ldhr;n:F
intermediary field_36614
Lnet/minecraft/class_6954;field_36614:F
named field_36614
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36614:F
-
field_36615
private static final double field_36615- See Also:
- Mappings:
Namespace Name Mixin selector official o
Ldhr;o:D
intermediary field_36615
Lnet/minecraft/class_6954;field_36615:D
named field_36615
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36615:D
-
field_36616
private static final double field_36616- See Also:
- Mappings:
Namespace Name Mixin selector official p
Ldhr;p:D
intermediary field_36616
Lnet/minecraft/class_6954;field_36616:D
named field_36616
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36616:D
-
field_36617
private static final double field_36617- See Also:
- Mappings:
Namespace Name Mixin selector official q
Ldhr;q:D
intermediary field_36617
Lnet/minecraft/class_6954;field_36617:D
named field_36617
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_36617:D
-
field_38250
private static final double field_38250- See Also:
- Mappings:
Namespace Name Mixin selector official r
Ldhr;r:D
intermediary field_38250
Lnet/minecraft/class_6954;field_38250:D
named field_38250
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_38250:D
-
field_37691
public static final int field_37691- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldhr;b:I
intermediary field_37691
Lnet/minecraft/class_6954;field_37691:I
named field_37691
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37691:I
-
field_37692
public static final long field_37692- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldhr;c:J
intermediary field_37692
Lnet/minecraft/class_6954;field_37692:J
named field_37692
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;field_37692:J
-
TEN_FUNCTION
- Mappings:
Namespace Name Mixin selector official s
Ldhr;s:Ldhd;
intermediary field_36618
Lnet/minecraft/class_6954;field_36618:Lnet/minecraft/class_6910;
named TEN_FUNCTION
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;TEN_FUNCTION:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
ZERO_FUNCTION
- Mappings:
Namespace Name Mixin selector official t
Ldhr;t:Ldhd;
intermediary field_36619
Lnet/minecraft/class_6954;field_36619:Lnet/minecraft/class_6910;
named ZERO_FUNCTION
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;ZERO_FUNCTION:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
ZERO
- Mappings:
Namespace Name Mixin selector official u
Ldhr;u:Lacp;
intermediary field_37117
Lnet/minecraft/class_6954;field_37117:Lnet/minecraft/class_5321;
named ZERO
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;ZERO:Lnet/minecraft/registry/RegistryKey;
-
Y
- Mappings:
Namespace Name Mixin selector official v
Ldhr;v:Lacp;
intermediary field_37118
Lnet/minecraft/class_6954;field_37118:Lnet/minecraft/class_5321;
named Y
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;Y:Lnet/minecraft/registry/RegistryKey;
-
SHIFT_X
- Mappings:
Namespace Name Mixin selector official w
Ldhr;w:Lacp;
intermediary field_37119
Lnet/minecraft/class_6954;field_37119:Lnet/minecraft/class_5321;
named SHIFT_X
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SHIFT_X:Lnet/minecraft/registry/RegistryKey;
-
SHIFT_Z
- Mappings:
Namespace Name Mixin selector official x
Ldhr;x:Lacp;
intermediary field_37120
Lnet/minecraft/class_6954;field_37120:Lnet/minecraft/class_5321;
named SHIFT_Z
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SHIFT_Z:Lnet/minecraft/registry/RegistryKey;
-
BASE_3D_NOISE_OVERWORLD
- Mappings:
Namespace Name Mixin selector official y
Ldhr;y:Lacp;
intermediary field_38251
Lnet/minecraft/class_6954;field_38251:Lnet/minecraft/class_5321;
named BASE_3D_NOISE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
BASE_3D_NOISE_NETHER
- Mappings:
Namespace Name Mixin selector official z
Ldhr;z:Lacp;
intermediary field_38252
Lnet/minecraft/class_6954;field_38252:Lnet/minecraft/class_5321;
named BASE_3D_NOISE_NETHER
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_NETHER:Lnet/minecraft/registry/RegistryKey;
-
BASE_3D_NOISE_END
- Mappings:
Namespace Name Mixin selector official A
Ldhr;A:Lacp;
intermediary field_38249
Lnet/minecraft/class_6954;field_38249:Lnet/minecraft/class_5321;
named BASE_3D_NOISE_END
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;BASE_3D_NOISE_END:Lnet/minecraft/registry/RegistryKey;
-
CONTINENTS_OVERWORLD
- Mappings:
Namespace Name Mixin selector official d
Ldhr;d:Lacp;
intermediary field_37122
Lnet/minecraft/class_6954;field_37122:Lnet/minecraft/class_5321;
named CONTINENTS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CONTINENTS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
EROSION_OVERWORLD
- Mappings:
Namespace Name Mixin selector official e
Ldhr;e:Lacp;
intermediary field_37123
Lnet/minecraft/class_6954;field_37123:Lnet/minecraft/class_5321;
named EROSION_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;EROSION_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
RIDGES_OVERWORLD
- Mappings:
Namespace Name Mixin selector official f
Ldhr;f:Lacp;
intermediary field_37124
Lnet/minecraft/class_6954;field_37124:Lnet/minecraft/class_5321;
named RIDGES_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;RIDGES_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
RIDGES_FOLDED_OVERWORLD
- Mappings:
Namespace Name Mixin selector official g
Ldhr;g:Lacp;
intermediary field_37693
Lnet/minecraft/class_6954;field_37693:Lnet/minecraft/class_5321;
named RIDGES_FOLDED_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;RIDGES_FOLDED_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
OFFSET_OVERWORLD
- Mappings:
Namespace Name Mixin selector official h
Ldhr;h:Lacp;
intermediary field_37694
Lnet/minecraft/class_6954;field_37694:Lnet/minecraft/class_5321;
named OFFSET_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
FACTOR_OVERWORLD
- Mappings:
Namespace Name Mixin selector official i
Ldhr;i:Lacp;
intermediary field_37125
Lnet/minecraft/class_6954;field_37125:Lnet/minecraft/class_5321;
named FACTOR_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
JAGGEDNESS_OVERWORLD
- Mappings:
Namespace Name Mixin selector official j
Ldhr;j:Lacp;
intermediary field_37695
Lnet/minecraft/class_6954;field_37695:Lnet/minecraft/class_5321;
named JAGGEDNESS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
DEPTH_OVERWORLD
- Mappings:
Namespace Name Mixin selector official k
Ldhr;k:Lacp;
intermediary field_37126
Lnet/minecraft/class_6954;field_37126:Lnet/minecraft/class_5321;
named DEPTH_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
SLOPED_CHEESE_OVERWORLD
- Mappings:
Namespace Name Mixin selector official B
Ldhr;B:Lacp;
intermediary field_37127
Lnet/minecraft/class_6954;field_37127:Lnet/minecraft/class_5321;
named SLOPED_CHEESE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CONTINENTS_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official l
Ldhr;l:Lacp;
intermediary field_37128
Lnet/minecraft/class_6954;field_37128:Lnet/minecraft/class_5321;
named CONTINENTS_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CONTINENTS_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
EROSION_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official m
Ldhr;m:Lacp;
intermediary field_37129
Lnet/minecraft/class_6954;field_37129:Lnet/minecraft/class_5321;
named EROSION_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;EROSION_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
OFFSET_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official C
Ldhr;C:Lacp;
intermediary field_37696
Lnet/minecraft/class_6954;field_37696:Lnet/minecraft/class_5321;
named OFFSET_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
FACTOR_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official D
Ldhr;D:Lacp;
intermediary field_37130
Lnet/minecraft/class_6954;field_37130:Lnet/minecraft/class_5321;
named FACTOR_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
JAGGEDNESS_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official E
Ldhr;E:Lacp;
intermediary field_37684
Lnet/minecraft/class_6954;field_37684:Lnet/minecraft/class_5321;
named JAGGEDNESS_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
DEPTH_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official F
Ldhr;F:Lacp;
intermediary field_37131
Lnet/minecraft/class_6954;field_37131:Lnet/minecraft/class_5321;
named DEPTH_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
SLOPED_CHEESE_OVERWORLD_LARGE_BIOME
- Mappings:
Namespace Name Mixin selector official G
Ldhr;G:Lacp;
intermediary field_37132
Lnet/minecraft/class_6954;field_37132:Lnet/minecraft/class_5321;
named SLOPED_CHEESE_OVERWORLD_LARGE_BIOME
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD_LARGE_BIOME:Lnet/minecraft/registry/RegistryKey;
-
OFFSET_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector official H
Ldhr;H:Lacp;
intermediary field_37685
Lnet/minecraft/class_6954;field_37685:Lnet/minecraft/class_5321;
named OFFSET_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;OFFSET_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
-
FACTOR_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector official I
Ldhr;I:Lacp;
intermediary field_37686
Lnet/minecraft/class_6954;field_37686:Lnet/minecraft/class_5321;
named FACTOR_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;FACTOR_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
-
JAGGEDNESS_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector official J
Ldhr;J:Lacp;
intermediary field_37687
Lnet/minecraft/class_6954;field_37687:Lnet/minecraft/class_5321;
named JAGGEDNESS_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;JAGGEDNESS_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
-
DEPTH_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector official K
Ldhr;K:Lacp;
intermediary field_37688
Lnet/minecraft/class_6954;field_37688:Lnet/minecraft/class_5321;
named DEPTH_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;DEPTH_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
-
SLOPED_CHEESE_OVERWORLD_AMPLIFIED
- Mappings:
Namespace Name Mixin selector official L
Ldhr;L:Lacp;
intermediary field_37689
Lnet/minecraft/class_6954;field_37689:Lnet/minecraft/class_5321;
named SLOPED_CHEESE_OVERWORLD_AMPLIFIED
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_OVERWORLD_AMPLIFIED:Lnet/minecraft/registry/RegistryKey;
-
SLOPED_CHEESE_END
- Mappings:
Namespace Name Mixin selector official M
Ldhr;M:Lacp;
intermediary field_37133
Lnet/minecraft/class_6954;field_37133:Lnet/minecraft/class_5321;
named SLOPED_CHEESE_END
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;SLOPED_CHEESE_END:Lnet/minecraft/registry/RegistryKey;
-
CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD
- Mappings:
Namespace Name Mixin selector official N
Ldhr;N:Lacp;
intermediary field_37134
Lnet/minecraft/class_6954;field_37134:Lnet/minecraft/class_5321;
named CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_ROUGHNESS_FUNCTION_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CAVES_ENTRANCES_OVERWORLD
- Mappings:
Namespace Name Mixin selector official O
Ldhr;O:Lacp;
intermediary field_37135
Lnet/minecraft/class_6954;field_37135:Lnet/minecraft/class_5321;
named CAVES_ENTRANCES_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_ENTRANCES_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CAVES_NOODLE_OVERWORLD
- Mappings:
Namespace Name Mixin selector official P
Ldhr;P:Lacp;
intermediary field_37136
Lnet/minecraft/class_6954;field_37136:Lnet/minecraft/class_5321;
named CAVES_NOODLE_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_NOODLE_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CAVES_PILLARS_OVERWORLD
- Mappings:
Namespace Name Mixin selector official Q
Ldhr;Q:Lacp;
intermediary field_37114
Lnet/minecraft/class_6954;field_37114:Lnet/minecraft/class_5321;
named CAVES_PILLARS_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_PILLARS_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD
- Mappings:
Namespace Name Mixin selector official R
Ldhr;R:Lacp;
intermediary field_37115
Lnet/minecraft/class_6954;field_37115:Lnet/minecraft/class_5321;
named CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_2D_THICKNESS_MODULATOR_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
CAVES_SPAGHETTI_2D_OVERWORLD
- Mappings:
Namespace Name Mixin selector official S
Ldhr;S:Lacp;
intermediary field_37116
Lnet/minecraft/class_6954;field_37116:Lnet/minecraft/class_5321;
named CAVES_SPAGHETTI_2D_OVERWORLD
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;CAVES_SPAGHETTI_2D_OVERWORLD:Lnet/minecraft/registry/RegistryKey;
-
-
Constructor Details
-
DensityFunctions
public DensityFunctions()
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Ljava/lang/String;)Lacp;
intermediary method_41109
Lnet/minecraft/class_6954;method_41109(Ljava/lang/String;)Lnet/minecraft/class_5321;
named of
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
-
bootstrap
public static RegistryEntry<? extends DensityFunction> bootstrap(Registerable<DensityFunction> densityFunctionRegisterable) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Lnm;)Lhe;
intermediary method_41100
Lnet/minecraft/class_6954;method_41100(Lnet/minecraft/class_7891;)Lnet/minecraft/class_6880;
named bootstrap
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;bootstrap(Lnet/minecraft/registry/Registerable;)Lnet/minecraft/registry/entry/RegistryEntry;
-
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 official a
Ldhr;a(Lnm;Lhf;Ldhd;Lhe;Lhe;Lacp;Lacp;Lacp;Lacp;Lacp;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
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
-
registerAndGetHolder
private static DensityFunction registerAndGetHolder(Registerable<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key, DensityFunction densityFunction) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Lnm;Lacp;Ldhd;)Ldhd;
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;
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;
-
entryHolder
private static DensityFunction entryHolder(RegistryEntryLookup<DensityFunction> densityFunctionRegisterable, RegistryKey<DensityFunction> key) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Lhf;Lacp;)Ldhd;
intermediary method_41116
Lnet/minecraft/class_6954;method_41116(Lnet/minecraft/class_7871;Lnet/minecraft/class_5321;)Lnet/minecraft/class_6910;
named entryHolder
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;entryHolder(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createRidgesFoldedOverworldFunction
- Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Ldhd;)Ldhd;
intermediary method_41547
Lnet/minecraft/class_6954;method_41547(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
named createRidgesFoldedOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createRidgesFoldedOverworldFunction(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
getPeaksValleysNoise
public static float getPeaksValleysNoise(float weirdness) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(F)F
intermediary method_41546
Lnet/minecraft/class_6954;method_41546(F)F
named getPeaksValleysNoise
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;getPeaksValleysNoise(F)F
-
createCavesSpaghettiRoughnessOverworldFunction
private static DensityFunction createCavesSpaghettiRoughnessOverworldFunction(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector official b
Ldhr;b(Lhf;)Ldhd;
intermediary method_41113
Lnet/minecraft/class_6954;method_41113(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
named createCavesSpaghettiRoughnessOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesSpaghettiRoughnessOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createCavesEntrancesOverworldFunction
private static DensityFunction createCavesEntrancesOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector official d
Ldhr;d(Lhf;Lhf;)Ldhd;
intermediary method_41117
Lnet/minecraft/class_6954;method_41117(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
named createCavesEntrancesOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesEntrancesOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createCavesNoodleOverworldFunction
private static DensityFunction createCavesNoodleOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector official e
Ldhr;e(Lhf;Lhf;)Ldhd;
intermediary method_41119
Lnet/minecraft/class_6954;method_41119(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
named createCavesNoodleOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesNoodleOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createCavePillarsOverworldFunction
private static DensityFunction createCavePillarsOverworldFunction(RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector official c
Ldhr;c(Lhf;)Ldhd;
intermediary method_41121
Lnet/minecraft/class_6954;method_41121(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
named createCavePillarsOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavePillarsOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createCavesSpaghetti2dOverworldFunction
private static DensityFunction createCavesSpaghetti2dOverworldFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup) - Mappings:
Namespace Name Mixin selector official f
Ldhr;f(Lhf;Lhf;)Ldhd;
intermediary method_41122
Lnet/minecraft/class_6954;method_41122(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6910;
named createCavesSpaghetti2dOverworldFunction
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesSpaghetti2dOverworldFunction(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createCavesFunction
private static DensityFunction createCavesFunction(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction slopedCheese) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Lhf;Lhf;Ldhd;)Ldhd;
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;
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;
-
applyBlendDensity
- Mappings:
Namespace Name Mixin selector official b
Ldhr;b(Ldhd;)Ldhd;
intermediary method_41207
Lnet/minecraft/class_6954;method_41207(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
named applyBlendDensity
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyBlendDensity(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
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 official a
Ldhr;a(Lhf;Lhf;ZZ)Ldhq;
intermediary method_41103
Lnet/minecraft/class_6954;method_41103(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;ZZ)Lnet/minecraft/class_6953;
named createSurfaceNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createSurfaceNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;ZZ)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
createMultiNoiseDependentNoiseRouter
private static NoiseRouter createMultiNoiseDependentNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup, RegistryEntryLookup<DoublePerlinNoiseSampler.NoiseParameters> noiseParametersLookup, DensityFunction density) - Mappings:
Namespace Name Mixin selector official b
Ldhr;b(Lhf;Lhf;Ldhd;)Ldhq;
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;
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;
-
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 official a
Ldhr;a(ZLdhd;)Ldhd;
intermediary method_42366
Lnet/minecraft/class_6954;method_42366(ZLnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
named applySurfaceSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applySurfaceSlides(ZLnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
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 official a
Ldhr;a(Lhf;II)Ldhd;
intermediary method_42363
Lnet/minecraft/class_6954;method_42363(Lnet/minecraft/class_7871;II)Lnet/minecraft/class_6910;
named applyCavesSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyCavesSlides(Lnet/minecraft/registry/RegistryEntryLookup;II)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
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 official a
Ldhr;a(Ldhd;II)Ldhd;
intermediary method_42364
Lnet/minecraft/class_6954;method_42364(Lnet/minecraft/class_6910;II)Lnet/minecraft/class_6910;
named applyFloatingIslandsSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyFloatingIslandsSlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;II)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
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 official a
Ldhr;a(Lhf;Lhf;)Ldhq;
intermediary method_41118
Lnet/minecraft/class_6954;method_41118(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
named createNetherNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createNetherNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
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 official b
Ldhr;b(Lhf;Lhf;)Ldhq;
intermediary method_41549
Lnet/minecraft/class_6954;method_41549(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
named createCavesNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createCavesNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
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 official c
Ldhr;c(Lhf;Lhf;)Ldhq;
intermediary method_41552
Lnet/minecraft/class_6954;method_41552(Lnet/minecraft/class_7871;Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
named createFloatingIslandsNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createFloatingIslandsNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
applyEndSlides
Applies the slides for The End.- Parameters:
slopedCheese
- the base density function- Returns:
- the created density function
- Mappings:
Namespace Name Mixin selector official c
Ldhr;c(Ldhd;)Ldhd;
intermediary method_42367
Lnet/minecraft/class_6954;method_42367(Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
named applyEndSlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applyEndSlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
createEndNoiseRouter
protected static NoiseRouter createEndNoiseRouter(RegistryEntryLookup<DensityFunction> densityFunctionLookup) Creates theNoiseRouter
for The End.- Returns:
- the created
NoiseRouter
- Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Lhf;)Ldhq;
intermediary method_41120
Lnet/minecraft/class_6954;method_41120(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6953;
named createEndNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createEndNoiseRouter(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
createMissingNoiseRouter
- Mappings:
Namespace Name Mixin selector official a
Ldhr;a()Ldhq;
intermediary method_44324
Lnet/minecraft/class_6954;method_44324()Lnet/minecraft/class_6953;
named createMissingNoiseRouter
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;createMissingNoiseRouter()Lnet/minecraft/world/gen/noise/NoiseRouter;
-
applyBlending
- Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Ldhd;Ldhd;)Ldhd;
intermediary method_40541
Lnet/minecraft/class_6954;method_40541(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
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;
-
createInitialDensityFunction
private static DensityFunction createInitialDensityFunction(DensityFunction factor, DensityFunction depth) - Mappings:
Namespace Name Mixin selector official b
Ldhr;b(Ldhd;Ldhd;)Ldhd;
intermediary method_40540
Lnet/minecraft/class_6954;method_40540(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;)Lnet/minecraft/class_6910;
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;
-
verticalRangeChoice
private static DensityFunction verticalRangeChoice(DensityFunction y, DensityFunction whenInRange, int minInclusive, int maxInclusive, int whenOutOfRange) - Mappings:
Namespace Name Mixin selector official a
Ldhr;a(Ldhd;Ldhd;III)Ldhd;
intermediary method_40539
Lnet/minecraft/class_6954;method_40539(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;III)Lnet/minecraft/class_6910;
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;
-
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 official a
Ldhr;a(Ldhd;IIIIDIID)Ldhd;
intermediary method_42365
Lnet/minecraft/class_6954;method_42365(Lnet/minecraft/class_6910;IIIIDIID)Lnet/minecraft/class_6910;
named applySlides
Lnet/minecraft/world/gen/densityfunction/DensityFunctions;applySlides(Lnet/minecraft/world/gen/densityfunction/DensityFunction;IIIIDIID)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-