Uses of Interface
net.minecraft.world.level.levelgen.DensityFunction
Package
Description
-
Uses of DensityFunction in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<DensityFunction>> Registries.DENSITY_FUNCTION
static final Registry
<com.mojang.serialization.MapCodec<? extends DensityFunction>> BuiltInRegistries.DENSITY_FUNCTION_TYPE
static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> Registries.DENSITY_FUNCTION_TYPE
-
Uses of DensityFunction in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionprivate final DensityFunction
Climate.Sampler.continentalness
The field for thecontinentalness
record component.private final DensityFunction
Climate.Sampler.depth
The field for thedepth
record component.private final DensityFunction
Climate.Sampler.erosion
The field for theerosion
record component.private final DensityFunction
Climate.Sampler.humidity
The field for thehumidity
record component.private final DensityFunction
Climate.Sampler.temperature
The field for thetemperature
record component.private final DensityFunction
Climate.Sampler.weirdness
The field for theweirdness
record component.Modifier and TypeMethodDescriptionClimate.Sampler.continentalness()
Returns the value of thecontinentalness
record component.Climate.Sampler.depth()
Returns the value of thedepth
record component.Climate.Sampler.erosion()
Returns the value of theerosion
record component.Climate.Sampler.humidity()
Returns the value of thehumidity
record component.Climate.Sampler.temperature()
Returns the value of thetemperature
record component.Climate.Sampler.weirdness()
Returns the value of theweirdness
record component.Modifier and TypeMethodDescriptionstatic boolean
OverworldBiomeBuilder.isDeepDarkRegion
(DensityFunction p_252040_, DensityFunction p_250447_, DensityFunction.FunctionContext p_249270_) ModifierConstructorDescriptionSampler
(DensityFunction temperature, DensityFunction humidity, DensityFunction continentalness, DensityFunction erosion, DensityFunction depth, DensityFunction weirdness, List<Climate.ParameterPoint> spawnTarget) Creates an instance of aSampler
record class. -
Uses of DensityFunction in net.minecraft.world.level.levelgen
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
(package private) static interface
(package private) static interface
(package private) static interface
(package private) static interface
(package private) static interface
Modifier and TypeClassDescriptionclass
(package private) static final record
protected static enum
protected static enum
(package private) static final record
protected static enum
protected static final record
(package private) static final record
protected static final class
static final record
protected static final record
protected static final record
(package private) static final record
protected static final record
(package private) static final record
protected static final record
protected static final record
protected static final record
protected static final record
static final record
protected static final record
(package private) static final record
(package private) class
(package private) class
(package private) static class
(package private) class
(package private) class
(package private) class
class
Modifier and TypeFieldDescriptionprivate final DensityFunction
DensityFunctions.Ap2.argument1
The field for theargument1
record component.private final DensityFunction
DensityFunctions.Ap2.argument2
The field for theargument2
record component.protected final DensityFunction
Aquifer.NoiseBasedAquifer.barrierNoise
private final DensityFunction
NoiseRouter.barrierNoise
The field for thebarrierNoise
record component.private static final DensityFunction
NoiseRouterData.BLENDING_FACTOR
private static final DensityFunction
NoiseRouterData.BLENDING_JAGGEDNESS
private final DensityFunction
NoiseRouter.continents
The field for thecontinents
record component.private final DensityFunction
Aquifer.NoiseBasedAquifer.depth
private final DensityFunction
NoiseRouter.depth
The field for thedepth
record component.private final DensityFunction
Aquifer.NoiseBasedAquifer.erosion
private final DensityFunction
NoiseRouter.erosion
The field for theerosion
record component.private final DensityFunction
NoiseRouter.finalDensity
The field for thefinalDensity
record component.private final DensityFunction
Aquifer.NoiseBasedAquifer.fluidLevelFloodednessNoise
private final DensityFunction
NoiseRouter.fluidLevelFloodednessNoise
The field for thefluidLevelFloodednessNoise
record component.private final DensityFunction
Aquifer.NoiseBasedAquifer.fluidLevelSpreadNoise
private final DensityFunction
NoiseRouter.fluidLevelSpreadNoise
The field for thefluidLevelSpreadNoise
record component.private final DensityFunction
NoiseChunk.Cache2D.function
private final DensityFunction
NoiseChunk.CacheOnce.function
private final DensityFunction
NoiseChunk.initialDensityNoJaggedness
private final DensityFunction
NoiseRouter.initialDensityWithoutJaggedness
The field for theinitialDensityWithoutJaggedness
record component.private final DensityFunction
DensityFunctions.BlendDensity.input
The field for theinput
record component.private final DensityFunction
DensityFunctions.Clamp.input
The field for theinput
record component.private final DensityFunction
DensityFunctions.Mapped.input
The field for theinput
record component.private final DensityFunction
DensityFunctions.MulOrAdd.input
The field for theinput
record component.private final DensityFunction
DensityFunctions.RangeChoice.input
The field for theinput
record component.private final DensityFunction
DensityFunctions.WeirdScaledSampler.input
The field for theinput
record component.protected final DensityFunction
Aquifer.NoiseBasedAquifer.lavaNoise
private final DensityFunction
NoiseRouter.lavaNoise
The field for thelavaNoise
record component.(package private) final DensityFunction
NoiseChunk.CacheAllInCell.noiseFiller
private final DensityFunction
NoiseChunk.FlatCache.noiseFiller
private final DensityFunction
NoiseChunk.NoiseInterpolator.noiseFiller
private final DensityFunction
NoiseRouter.ridges
The field for theridges
record component.private final DensityFunction
DensityFunctions.ShiftedNoise.shiftX
The field for theshiftX
record component.private final DensityFunction
DensityFunctions.ShiftedNoise.shiftY
The field for theshiftY
record component.private final DensityFunction
DensityFunctions.ShiftedNoise.shiftZ
The field for theshiftZ
record component.private final DensityFunction
NoiseRouter.temperature
The field for thetemperature
record component.private final DensityFunction
NoiseRouter.vegetation
The field for thevegetation
record component.private final DensityFunction
NoiseRouter.veinGap
The field for theveinGap
record component.private final DensityFunction
NoiseRouter.veinRidged
The field for theveinRidged
record component.private final DensityFunction
NoiseRouter.veinToggle
The field for theveinToggle
record component.private final DensityFunction
DensityFunctions.RangeChoice.whenInRange
The field for thewhenInRange
record component.private final DensityFunction
DensityFunctions.RangeChoice.whenOutOfRange
The field for thewhenOutOfRange
record component.private final DensityFunction
DensityFunctions.Marker.wrapped
The field for thewrapped
record component.Modifier and TypeFieldDescriptionprivate static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_END
private static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_NETHER
private static final ResourceKey
<DensityFunction> NoiseRouterData.BASE_3D_NOISE_OVERWORLD
static final com.mojang.serialization.Codec
<Holder<DensityFunction>> DensityFunction.CODEC
static final KeyDispatchDataCodec
<DensityFunction> DensityFunctions.BeardifierOrMarker.CODEC
static final KeyDispatchDataCodec
<DensityFunction> DensityFunctions.BlendAlpha.CODEC
static final KeyDispatchDataCodec
<DensityFunction> DensityFunctions.BlendOffset.CODEC
private static final com.mojang.serialization.Codec
<DensityFunction> DensityFunctions.CODEC
static final ResourceKey
<DensityFunction> NoiseRouterData.CONTINENTS
static final ResourceKey
<DensityFunction> NoiseRouterData.CONTINENTS_LARGE
static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH
private static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.DEPTH_LARGE
static final com.mojang.serialization.Codec
<DensityFunction> DensityFunction.DIRECT_CODEC
static final com.mojang.serialization.Codec
<DensityFunction> DensityFunctions.DIRECT_CODEC
private static final ResourceKey
<DensityFunction> NoiseRouterData.ENTRANCES
static final ResourceKey
<DensityFunction> NoiseRouterData.EROSION
static final ResourceKey
<DensityFunction> NoiseRouterData.EROSION_LARGE
static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR
private static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.FACTOR_LARGE
private final Holder
<DensityFunction> DensityFunctions.HolderHolder.function
The field for thefunction
record component.private final Holder
<DensityFunction> DensityFunctions.Spline.Coordinate.function
The field for thefunction
record component.static final com.mojang.serialization.Codec
<DensityFunction> DensityFunction.HOLDER_HELPER_CODEC
static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS
private static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.JAGGEDNESS_LARGE
private static final ResourceKey
<DensityFunction> NoiseRouterData.NOODLE
static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET
private static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.OFFSET_LARGE
private static final ResourceKey
<DensityFunction> NoiseRouterData.PILLARS
static final ResourceKey
<DensityFunction> NoiseRouterData.RIDGES
static final ResourceKey
<DensityFunction> NoiseRouterData.RIDGES_FOLDED
private static final ResourceKey
<DensityFunction> NoiseRouterData.SHIFT_X
private static final ResourceKey
<DensityFunction> NoiseRouterData.SHIFT_Z
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_AMPLIFIED
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_END
private static final ResourceKey
<DensityFunction> NoiseRouterData.SLOPED_CHEESE_LARGE
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_2D
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_2D_THICKNESS_MODULATOR
private static final ResourceKey
<DensityFunction> NoiseRouterData.SPAGHETTI_ROUGHNESS_FUNCTION
private final Map
<DensityFunction, DensityFunction> NoiseChunk.wrapped
private final Map
<DensityFunction, DensityFunction> NoiseChunk.wrapped
private static final ResourceKey
<DensityFunction> NoiseRouterData.Y
private static final ResourceKey
<DensityFunction> NoiseRouterData.ZERO
Modifier and TypeMethodDescriptiondefault DensityFunction
DensityFunction.abs()
static DensityFunction
DensityFunctions.add
(DensityFunction p_208294_, DensityFunction p_208295_) DensityFunction.Visitor.apply
(DensityFunction p_224019_) DensityFunctions.Ap2.argument1()
Returns the value of theargument1
record component.DensityFunctions.MulOrAdd.argument1()
DensityFunctions.TwoArgumentSimpleFunction.argument1()
DensityFunctions.Ap2.argument2()
Returns the value of theargument2
record component.DensityFunctions.MulOrAdd.argument2()
DensityFunctions.TwoArgumentSimpleFunction.argument2()
NoiseRouter.barrierNoise()
Returns the value of thebarrierNoise
record component.static DensityFunction
DensityFunctions.blendAlpha()
static DensityFunction
DensityFunctions.blendDensity
(DensityFunction p_208390_) static DensityFunction
DensityFunctions.blendOffset()
static DensityFunction
DensityFunctions.cache2d
(DensityFunction p_208374_) static DensityFunction
DensityFunctions.cacheAllInCell
(DensityFunction p_208388_) static DensityFunction
DensityFunctions.cacheOnce
(DensityFunction p_208381_) default DensityFunction
DensityFunction.clamp
(double p_208221_, double p_208222_) static DensityFunction
DensityFunctions.constant
(double p_208265_) NoiseRouter.continents()
Returns the value of thecontinents
record component.default DensityFunction
DensityFunction.cube()
NoiseRouter.depth()
Returns the value of thedepth
record component.static DensityFunction
DensityFunctions.endIslands
(long p_208272_) private static DensityFunction
NoiseRouterData.entrances
(HolderGetter<DensityFunction> p_256511_, HolderGetter<NormalNoise.NoiseParameters> p_255899_) NoiseRouter.erosion()
Returns the value of theerosion
record component.NoiseRouter.finalDensity()
Returns the value of thefinalDensity
record component.static DensityFunction
DensityFunctions.flatCache
(DensityFunction p_208362_) NoiseRouter.fluidLevelFloodednessNoise()
Returns the value of thefluidLevelFloodednessNoise
record component.NoiseRouter.fluidLevelSpreadNoise()
Returns the value of thefluidLevelSpreadNoise
record component.private static DensityFunction
NoiseRouterData.getFunction
(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) default DensityFunction
DensityFunction.halfNegative()
NoiseRouter.initialDensityWithoutJaggedness()
Returns the value of theinitialDensityWithoutJaggedness
record component.DensityFunctions.BlendDensity.input()
Returns the value of theinput
record component.DensityFunctions.Clamp.input()
Returns the value of theinput
record component.DensityFunctions.Mapped.input()
Returns the value of theinput
record component.DensityFunctions.MulOrAdd.input()
Returns the value of theinput
record component.DensityFunctions.PureTransformer.input()
DensityFunctions.RangeChoice.input()
Returns the value of theinput
record component.DensityFunctions.TransformerWithContext.input()
DensityFunctions.WeirdScaledSampler.input()
Returns the value of theinput
record component.static DensityFunction
DensityFunctions.interpolated
(DensityFunction p_208282_) NoiseRouter.lavaNoise()
Returns the value of thelavaNoise
record component.static DensityFunction
DensityFunctions.lerp
(DensityFunction p_224031_, double p_224032_, DensityFunction p_224033_) static DensityFunction
DensityFunctions.lerp
(DensityFunction p_208302_, DensityFunction p_208303_, DensityFunction p_208304_) static DensityFunction
DensityFunctions.map
(DensityFunction p_208313_, DensityFunctions.Mapped.Type p_208314_) DensityFunction.mapAll
(DensityFunction.Visitor p_208224_) default DensityFunction
DensityFunction.SimpleFunction.mapAll
(DensityFunction.Visitor p_208239_) DensityFunctions.Ap2.mapAll
(DensityFunction.Visitor p_208412_) DensityFunctions.BlendDensity.mapAll
(DensityFunction.Visitor p_208556_) DensityFunctions.Clamp.mapAll
(DensityFunction.Visitor p_208599_) DensityFunctions.HolderHolder.mapAll
(DensityFunction.Visitor p_208643_) default DensityFunction
DensityFunctions.MarkerOrMarked.mapAll
(DensityFunction.Visitor p_224070_) DensityFunctions.MulOrAdd.mapAll
(DensityFunction.Visitor p_208761_) DensityFunctions.Noise.mapAll
(DensityFunction.Visitor p_224077_) DensityFunctions.RangeChoice.mapAll
(DensityFunction.Visitor p_208841_) DensityFunctions.Shift.mapAll
(DensityFunction.Visitor p_224087_) DensityFunctions.ShiftA.mapAll
(DensityFunction.Visitor p_224093_) DensityFunctions.ShiftB.mapAll
(DensityFunction.Visitor p_224099_) DensityFunctions.ShiftedNoise.mapAll
(DensityFunction.Visitor p_208947_) DensityFunctions.Spline.mapAll
(DensityFunction.Visitor p_211717_) DensityFunctions.WeirdScaledSampler.mapAll
(DensityFunction.Visitor p_208443_) NoiseChunk.BlendAlpha.mapAll
(DensityFunction.Visitor p_224365_) NoiseChunk.BlendOffset.mapAll
(DensityFunction.Visitor p_224368_) private static DensityFunction
DensityFunctions.mapFromUnitTo
(DensityFunction p_208284_, double p_208285_, double p_208286_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208328_, double p_208329_, double p_208330_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208332_, double p_208333_, double p_208334_, double p_208335_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208337_, double p_208338_, double p_208339_, double p_208340_, double p_208341_) static DensityFunction
DensityFunctions.max
(DensityFunction p_208383_, DensityFunction p_208384_) static DensityFunction
DensityFunctions.min
(DensityFunction p_208376_, DensityFunction p_208377_) static DensityFunction
DensityFunctions.mul
(DensityFunction p_208364_, DensityFunction p_208365_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208323_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208325_, double p_208326_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208369_, double p_208370_, double p_208371_) private static DensityFunction
NoiseRouterData.noiseGradientDensity
(DensityFunction p_212272_, DensityFunction p_212273_) private static DensityFunction
NoiseRouterData.noodle
(HolderGetter<DensityFunction> p_256402_, HolderGetter<NormalNoise.NoiseParameters> p_255632_) private static DensityFunction
NoiseRouterData.peaksAndValleys
(DensityFunction p_224438_) private static DensityFunction
NoiseRouterData.pillars
(HolderGetter<NormalNoise.NoiseParameters> p_255985_) private static DensityFunction
NoiseRouterData.postProcess
(DensityFunction p_224493_) default DensityFunction
DensityFunction.quarterNegative()
static DensityFunction
DensityFunctions.rangeChoice
(DensityFunction p_208288_, double p_208289_, double p_208290_, DensityFunction p_208291_, DensityFunction p_208292_) private static DensityFunction
NoiseRouterData.registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) NoiseRouter.ridges()
Returns the value of theridges
record component.static DensityFunction
DensityFunctions.shift
(Holder<NormalNoise.NoiseParameters> p_208386_) static DensityFunction
DensityFunctions.shiftA
(Holder<NormalNoise.NoiseParameters> p_208367_) static DensityFunction
DensityFunctions.shiftB
(Holder<NormalNoise.NoiseParameters> p_208379_) static DensityFunction
DensityFunctions.shiftedNoise2d
(DensityFunction p_208297_, DensityFunction p_208298_, double p_208299_, Holder<NormalNoise.NoiseParameters> p_208300_) DensityFunctions.ShiftedNoise.shiftX()
Returns the value of theshiftX
record component.DensityFunctions.ShiftedNoise.shiftY()
Returns the value of theshiftY
record component.DensityFunctions.ShiftedNoise.shiftZ()
Returns the value of theshiftZ
record component.private static DensityFunction
NoiseRouterData.slide
(DensityFunction p_224444_, int p_224445_, int p_224446_, int p_224447_, int p_224448_, double p_224449_, int p_224450_, int p_224451_, double p_224452_) private static DensityFunction
NoiseRouterData.slideEnd
(DensityFunction p_224506_) private static DensityFunction
NoiseRouterData.slideEndLike
(DensityFunction p_224440_, int p_224441_, int p_224442_) private static DensityFunction
NoiseRouterData.slideNetherLike
(HolderGetter<DensityFunction> p_256084_, int p_255802_, int p_255834_) private static DensityFunction
NoiseRouterData.slideOverworld
(boolean p_224490_, DensityFunction p_224491_) private static DensityFunction
NoiseRouterData.spaghetti2D
(HolderGetter<DensityFunction> p_256535_, HolderGetter<NormalNoise.NoiseParameters> p_255650_) private static DensityFunction
NoiseRouterData.spaghettiRoughnessFunction
(HolderGetter<NormalNoise.NoiseParameters> p_255763_) static DensityFunction
DensityFunctions.spline
(CubicSpline<DensityFunctions.Spline.Point, DensityFunctions.Spline.Coordinate> p_224021_) private static DensityFunction
NoiseRouterData.splineWithBlending
(DensityFunction p_224454_, DensityFunction p_224455_) default DensityFunction
DensityFunction.square()
default DensityFunction
DensityFunction.squeeze()
NoiseRouter.temperature()
Returns the value of thetemperature
record component.private static DensityFunction
NoiseRouterData.underground
(HolderGetter<DensityFunction> p_256548_, HolderGetter<NormalNoise.NoiseParameters> p_256236_, DensityFunction p_256658_) NoiseRouter.vegetation()
Returns the value of thevegetation
record component.NoiseRouter.veinGap()
Returns the value of theveinGap
record component.NoiseRouter.veinRidged()
Returns the value of theveinRidged
record component.NoiseRouter.veinToggle()
Returns the value of theveinToggle
record component.static DensityFunction
DensityFunctions.weirdScaledSampler
(DensityFunction p_208316_, Holder<NormalNoise.NoiseParameters> p_208317_, DensityFunctions.WeirdScaledSampler.RarityValueMapper p_208318_) DensityFunctions.RangeChoice.whenInRange()
Returns the value of thewhenInRange
record component.DensityFunctions.RangeChoice.whenOutOfRange()
Returns the value of thewhenOutOfRange
record component.protected DensityFunction
NoiseChunk.wrap
(DensityFunction p_209214_) private DensityFunction
NoiseChunk.wrapNew
(DensityFunction p_209234_) DensityFunctions.Marker.wrapped()
Returns the value of thewrapped
record component.DensityFunctions.MarkerOrMarked.wrapped()
NoiseChunk.BlendAlpha.wrapped()
NoiseChunk.BlendOffset.wrapped()
NoiseChunk.Cache2D.wrapped()
NoiseChunk.CacheAllInCell.wrapped()
NoiseChunk.CacheOnce.wrapped()
NoiseChunk.FlatCache.wrapped()
NoiseChunk.NoiseChunkDensityFunction.wrapped()
NoiseChunk.NoiseInterpolator.wrapped()
static DensityFunction
DensityFunctions.yClampedGradient
(int p_208267_, int p_208268_, double p_208269_, double p_208270_) private static DensityFunction
NoiseRouterData.yLimitedInterpolatable
(DensityFunction p_209472_, DensityFunction p_209473_, int p_209474_, int p_209475_, int p_209476_) static DensityFunction
DensityFunctions.zero()
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_208343_) static Holder
<? extends DensityFunction> NoiseRouterData.bootstrap
(BootstrapContext<DensityFunction> p_321740_) KeyDispatchDataCodec
<? extends DensityFunction> DensityFunction.codec()
default KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.BeardifierOrMarker.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.BlendAlpha.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.BlendDensity.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.BlendOffset.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Clamp.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Constant.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.EndIslandDensityFunction.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.HolderHolder.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Mapped.codec()
default KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.MarkerOrMarked.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Noise.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.RangeChoice.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Shift.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.ShiftA.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.ShiftB.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.ShiftedNoise.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.Spline.codec()
default KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.TwoArgumentSimpleFunction.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.WeirdScaledSampler.codec()
KeyDispatchDataCodec
<? extends DensityFunction> DensityFunctions.YClampedGradient.codec()
KeyDispatchDataCodec
<? extends DensityFunction> NoiseChunk.BlendAlpha.codec()
KeyDispatchDataCodec
<? extends DensityFunction> NoiseChunk.BlendOffset.codec()
private static ResourceKey
<DensityFunction> private static com.mojang.serialization.codecs.RecordCodecBuilder
<NoiseRouter, DensityFunction> NoiseRouter.field
(String p_224415_, Function<NoiseRouter, DensityFunction> p_224416_) DensityFunctions.HolderHolder.function()
Returns the value of thefunction
record component.DensityFunctions.Spline.Coordinate.function()
Returns the value of thefunction
record component.private static com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.register
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) Modifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctions.add
(DensityFunction p_208294_, DensityFunction p_208295_) DensityFunction.Visitor.apply
(DensityFunction p_224019_) static DensityFunction
DensityFunctions.blendDensity
(DensityFunction p_208390_) static DensityFunction
DensityFunctions.cache2d
(DensityFunction p_208374_) static DensityFunction
DensityFunctions.cacheAllInCell
(DensityFunction p_208388_) static DensityFunction
DensityFunctions.cacheOnce
(DensityFunction p_208381_) static DensityFunctions.Mapped
DensityFunctions.Mapped.create
(DensityFunctions.Mapped.Type p_208672_, DensityFunction p_208673_) DensityFunctions.TwoArgumentSimpleFunction.create
(DensityFunctions.TwoArgumentSimpleFunction.Type p_209074_, DensityFunction p_209075_, DensityFunction p_209076_) protected static NoiseChunk.BlockStateFiller
OreVeinifier.create
(DensityFunction p_209668_, DensityFunction p_209669_, DensityFunction p_209670_, PositionalRandomFactory p_209671_) void
DensityFunction.ContextProvider.fillAllDirectly
(double[] p_208236_, DensityFunction p_208237_) void
NoiseChunk.fillAllDirectly
(double[] p_209224_, DensityFunction p_209225_) static DensityFunction
DensityFunctions.flatCache
(DensityFunction p_208362_) static DensityFunction
DensityFunctions.interpolated
(DensityFunction p_208282_) static DensityFunction
DensityFunctions.lerp
(DensityFunction p_224031_, double p_224032_, DensityFunction p_224033_) static DensityFunction
DensityFunctions.lerp
(DensityFunction p_208302_, DensityFunction p_208303_, DensityFunction p_208304_) static DensityFunction
DensityFunctions.map
(DensityFunction p_208313_, DensityFunctions.Mapped.Type p_208314_) private static DensityFunction
DensityFunctions.mapFromUnitTo
(DensityFunction p_208284_, double p_208285_, double p_208286_) static DensityFunction
DensityFunctions.max
(DensityFunction p_208383_, DensityFunction p_208384_) static DensityFunction
DensityFunctions.min
(DensityFunction p_208376_, DensityFunction p_208377_) static DensityFunction
DensityFunctions.mul
(DensityFunction p_208364_, DensityFunction p_208365_) private static DensityFunction
NoiseRouterData.noiseGradientDensity
(DensityFunction p_212272_, DensityFunction p_212273_) private static NoiseRouter
NoiseRouterData.noNewCaves
(HolderGetter<DensityFunction> p_255724_, HolderGetter<NormalNoise.NoiseParameters> p_255986_, DensityFunction p_256378_) private static DensityFunction
NoiseRouterData.peaksAndValleys
(DensityFunction p_224438_) private static DensityFunction
NoiseRouterData.postProcess
(DensityFunction p_224493_) static DensityFunction
DensityFunctions.rangeChoice
(DensityFunction p_208288_, double p_208289_, double p_208290_, DensityFunction p_208291_, DensityFunction p_208292_) private static DensityFunction
NoiseRouterData.registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) static DensityFunction
DensityFunctions.shiftedNoise2d
(DensityFunction p_208297_, DensityFunction p_208298_, double p_208299_, Holder<NormalNoise.NoiseParameters> p_208300_) private static DensityFunction
NoiseRouterData.slide
(DensityFunction p_224444_, int p_224445_, int p_224446_, int p_224447_, int p_224448_, double p_224449_, int p_224450_, int p_224451_, double p_224452_) private static DensityFunction
NoiseRouterData.slideEnd
(DensityFunction p_224506_) private static DensityFunction
NoiseRouterData.slideEndLike
(DensityFunction p_224440_, int p_224441_, int p_224442_) private static DensityFunction
NoiseRouterData.slideOverworld
(boolean p_224490_, DensityFunction p_224491_) private static DensityFunction
NoiseRouterData.splineWithBlending
(DensityFunction p_224454_, DensityFunction p_224455_) private static DensityFunction
NoiseRouterData.underground
(HolderGetter<DensityFunction> p_256548_, HolderGetter<NormalNoise.NoiseParameters> p_256236_, DensityFunction p_256658_) static DensityFunction
DensityFunctions.weirdScaledSampler
(DensityFunction p_208316_, Holder<NormalNoise.NoiseParameters> p_208317_, DensityFunctions.WeirdScaledSampler.RarityValueMapper p_208318_) protected DensityFunction
NoiseChunk.wrap
(DensityFunction p_209214_) private DensityFunction
NoiseChunk.wrapNew
(DensityFunction p_209234_) private static DensityFunction
NoiseRouterData.yLimitedInterpolatable
(DensityFunction p_209472_, DensityFunction p_209473_, int p_209474_, int p_209475_, int p_209476_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_208343_) static Holder
<? extends DensityFunction> NoiseRouterData.bootstrap
(BootstrapContext<DensityFunction> p_321740_) protected static NoiseRouter
NoiseRouterData.caves
(HolderGetter<DensityFunction> p_256088_, HolderGetter<NormalNoise.NoiseParameters> p_255675_) (package private) static <O> KeyDispatchDataCodec
<O> DensityFunctions.doubleFunctionArgumentCodec
(BiFunction<DensityFunction, DensityFunction, O> p_224039_, Function<O, DensityFunction> p_224040_, Function<O, DensityFunction> p_224041_) (package private) static <O> KeyDispatchDataCodec
<O> DensityFunctions.doubleFunctionArgumentCodec
(BiFunction<DensityFunction, DensityFunction, O> p_224039_, Function<O, DensityFunction> p_224040_, Function<O, DensityFunction> p_224041_) (package private) static <O> KeyDispatchDataCodec
<O> DensityFunctions.doubleFunctionArgumentCodec
(BiFunction<DensityFunction, DensityFunction, O> p_224039_, Function<O, DensityFunction> p_224040_, Function<O, DensityFunction> p_224041_) protected static NoiseRouter
NoiseRouterData.end
(HolderGetter<DensityFunction> p_256079_) private static DensityFunction
NoiseRouterData.entrances
(HolderGetter<DensityFunction> p_256511_, HolderGetter<NormalNoise.NoiseParameters> p_255899_) private static com.mojang.serialization.codecs.RecordCodecBuilder
<NoiseRouter, DensityFunction> NoiseRouter.field
(String p_224415_, Function<NoiseRouter, DensityFunction> p_224416_) protected static NoiseRouter
NoiseRouterData.floatingIslands
(HolderGetter<DensityFunction> p_256633_, HolderGetter<NormalNoise.NoiseParameters> p_255902_) private static DensityFunction
NoiseRouterData.getFunction
(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) private static DensityFunction
NoiseRouterData.getFunction
(HolderGetter<DensityFunction> p_256312_, ResourceKey<DensityFunction> p_256077_) protected static NoiseRouter
NoiseRouterData.nether
(HolderGetter<DensityFunction> p_256256_, HolderGetter<NormalNoise.NoiseParameters> p_256169_) private static NoiseRouter
NoiseRouterData.noNewCaves
(HolderGetter<DensityFunction> p_255724_, HolderGetter<NormalNoise.NoiseParameters> p_255986_, DensityFunction p_256378_) private static DensityFunction
NoiseRouterData.noodle
(HolderGetter<DensityFunction> p_256402_, HolderGetter<NormalNoise.NoiseParameters> p_255632_) protected static NoiseRouter
NoiseRouterData.overworld
(HolderGetter<DensityFunction> p_255681_, HolderGetter<NormalNoise.NoiseParameters> p_256005_, boolean p_255649_, boolean p_255617_) private static com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.register
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) private static com.mojang.serialization.MapCodec
<? extends DensityFunction> DensityFunctions.register
(Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> p_224035_, String p_224036_, KeyDispatchDataCodec<? extends DensityFunction> p_224037_) private static DensityFunction
NoiseRouterData.registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static DensityFunction
NoiseRouterData.registerAndWrap
(BootstrapContext<DensityFunction> p_321585_, ResourceKey<DensityFunction> p_255905_, DensityFunction p_255856_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) (package private) static <O> KeyDispatchDataCodec
<O> DensityFunctions.singleFunctionArgumentCodec
(Function<DensityFunction, O> p_224043_, Function<O, DensityFunction> p_224044_) private static DensityFunction
NoiseRouterData.slideNetherLike
(HolderGetter<DensityFunction> p_256084_, int p_255802_, int p_255834_) private static DensityFunction
NoiseRouterData.spaghetti2D
(HolderGetter<DensityFunction> p_256535_, HolderGetter<NormalNoise.NoiseParameters> p_255650_) private static DensityFunction
NoiseRouterData.underground
(HolderGetter<DensityFunction> p_256548_, HolderGetter<NormalNoise.NoiseParameters> p_256236_, DensityFunction p_256658_) ModifierConstructorDescription(package private)
Ap2
(DensityFunctions.TwoArgumentSimpleFunction.Type type, DensityFunction argument1, DensityFunction argument2, double minValue, double maxValue) Creates an instance of aAp2
record class.(package private)
BlendDensity
(DensityFunction input) Creates an instance of aBlendDensity
record class.(package private)
Cache2D
(DensityFunction p_209288_) (package private)
CacheAllInCell
(DensityFunction p_209301_) (package private)
CacheOnce
(DensityFunction p_209317_) protected
Clamp
(DensityFunction input, double minValue, double maxValue) Creates an instance of aClamp
record class.(package private)
FlatCache
(DensityFunction p_209330_, boolean p_209331_) protected
Mapped
(DensityFunctions.Mapped.Type type, DensityFunction input, double minValue, double maxValue) Creates an instance of aMapped
record class.protected
Marker
(DensityFunctions.Marker.Type type, DensityFunction wrapped) Creates an instance of aMarker
record class.(package private)
MulOrAdd
(DensityFunctions.MulOrAdd.Type specificType, DensityFunction input, double minValue, double maxValue, double argument) Creates an instance of aMulOrAdd
record class.(package private)
NoiseInterpolator
(DensityFunction p_209345_) NoiseRouter
(DensityFunction barrierNoise, DensityFunction fluidLevelFloodednessNoise, DensityFunction fluidLevelSpreadNoise, DensityFunction lavaNoise, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction initialDensityWithoutJaggedness, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap) Creates an instance of aNoiseRouter
record class.(package private)
RangeChoice
(DensityFunction input, double minInclusive, double maxExclusive, DensityFunction whenInRange, DensityFunction whenOutOfRange) Creates an instance of aRangeChoice
record class.protected
ShiftedNoise
(DensityFunction shiftX, DensityFunction shiftY, DensityFunction shiftZ, double xzScale, double yScale, DensityFunction.NoiseHolder noise) Creates an instance of aShiftedNoise
record class.protected
WeirdScaledSampler
(DensityFunction input, DensityFunction.NoiseHolder noise, DensityFunctions.WeirdScaledSampler.RarityValueMapper rarityValueMapper) Creates an instance of aWeirdScaledSampler
record class.ModifierConstructorDescriptionCoordinate
(Holder<DensityFunction> function) Creates an instance of aCoordinate
record class.HolderHolder
(Holder<DensityFunction> function) Creates an instance of aHolderHolder
record class. -
Uses of DensityFunction in net.minecraft.world.level.levelgen.synth
Modifier and TypeMethodDescriptionKeyDispatchDataCodec
<? extends DensityFunction> BlendedNoise.codec()