Interface DensityFunction
- All Known Subinterfaces:
ChunkNoiseSampler.ParentedNoiseType
,DensityFunction.Base
,DensityFunctionTypes.Beardifying
,DensityFunctionTypes.BinaryOperationLike
,DensityFunctionTypes.Offset
,DensityFunctionTypes.Positional
,DensityFunctionTypes.Unary
,DensityFunctionTypes.Wrapper
- All Known Implementing Classes:
ChunkNoiseSampler.BlendAlphaDensityFunction
,ChunkNoiseSampler.BlendOffsetDensityFunction
,ChunkNoiseSampler.Cache2D
,ChunkNoiseSampler.CacheOnce
,ChunkNoiseSampler.CellCache
,ChunkNoiseSampler.FlatCacheDensityFunction
,ChunkNoiseSampler.NoiseInterpolator
,DensityFunctionTypes.Beardifier
,DensityFunctionTypes.BinaryOperation
,DensityFunctionTypes.BlendAlpha
,DensityFunctionTypes.BlendDensity
,DensityFunctionTypes.BlendOffset
,DensityFunctionTypes.Clamp
,DensityFunctionTypes.Constant
,DensityFunctionTypes.EndIslands
,DensityFunctionTypes.LinearOperation
,DensityFunctionTypes.Noise
,DensityFunctionTypes.RangeChoice
,DensityFunctionTypes.RegistryEntryHolder
,DensityFunctionTypes.Shift
,DensityFunctionTypes.ShiftA
,DensityFunctionTypes.ShiftB
,DensityFunctionTypes.ShiftedNoise
,DensityFunctionTypes.Spline
,DensityFunctionTypes.UnaryOperation
,DensityFunctionTypes.WeirdScaledSampler
,DensityFunctionTypes.Wrapping
,DensityFunctionTypes.YClampedGradient
,InterpolatedNoiseSampler
,StructureWeightSampler
public interface DensityFunction
- Mappings:
Namespace Name official ddu
intermediary net/minecraft/class_6910
named net/minecraft/world/gen/densityfunction/DensityFunction
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static final record
static interface
static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DensityFunction>
static final com.mojang.serialization.Codec<DensityFunction>
static final com.mojang.serialization.Codec<RegistryEntry<DensityFunction>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DensityFunction
abs()
void
applyEach
(double[] densities, DensityFunction.EachApplier applier) default DensityFunction
clamp
(double min, double max) default DensityFunction
cube()
CodecHolder<? extends DensityFunction>
default DensityFunction
double
maxValue()
double
minValue()
default DensityFunction
double
default DensityFunction
square()
default DensityFunction
squeeze()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official b
Lddu;b:Lcom/mojang/serialization/Codec;
intermediary field_37057
Lnet/minecraft/class_6910;field_37057:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/densityfunction/DensityFunction;CODEC:Lcom/mojang/serialization/Codec;
-
REGISTRY_ENTRY_CODEC
- Mappings:
Namespace Name Mixin selector official c
Lddu;c:Lcom/mojang/serialization/Codec;
intermediary field_37058
Lnet/minecraft/class_6910;field_37058:Lcom/mojang/serialization/Codec;
named REGISTRY_ENTRY_CODEC
Lnet/minecraft/world/gen/densityfunction/DensityFunction;REGISTRY_ENTRY_CODEC:Lcom/mojang/serialization/Codec;
-
FUNCTION_CODEC
- Mappings:
Namespace Name Mixin selector official d
Lddu;d:Lcom/mojang/serialization/Codec;
intermediary field_37059
Lnet/minecraft/class_6910;field_37059:Lcom/mojang/serialization/Codec;
named FUNCTION_CODEC
Lnet/minecraft/world/gen/densityfunction/DensityFunction;FUNCTION_CODEC:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
sample
- Mappings:
Namespace Name Mixin selector official a
Lddu;a(Lddu$b;)D
intermediary method_40464
Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)D
named sample
Lnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
-
applyEach
- Mappings:
Namespace Name Mixin selector official a
Lddu;a([DLddu$a;)V
intermediary method_40470
Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)V
named applyEach
Lnet/minecraft/world/gen/densityfunction/DensityFunction;applyEach([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)V
-
apply
- Mappings:
Namespace Name Mixin selector official a
Lddu;a(Lddu$f;)Lddu;
intermediary method_40469
Lnet/minecraft/class_6910;method_40469(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6910;
named apply
Lnet/minecraft/world/gen/densityfunction/DensityFunction;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
minValue
double minValue()- Mappings:
Namespace Name Mixin selector official a
Lddu;a()D
intermediary comp_377
Lnet/minecraft/class_6910;comp_377()D
named minValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
double maxValue()- Mappings:
Namespace Name Mixin selector official b
Lddu;b()D
intermediary comp_378
Lnet/minecraft/class_6910;comp_378()D
named maxValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
getCodecHolder
CodecHolder<? extends DensityFunction> getCodecHolder()- Mappings:
Namespace Name Mixin selector official c
Lddu;c()Lanw;
intermediary method_41062
Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;
named getCodecHolder
Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;
-
clamp
- Mappings:
Namespace Name Mixin selector official a
Lddu;a(DD)Lddu;
intermediary method_40468
Lnet/minecraft/class_6910;method_40468(DD)Lnet/minecraft/class_6910;
named clamp
Lnet/minecraft/world/gen/densityfunction/DensityFunction;clamp(DD)Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
abs
- Mappings:
Namespace Name Mixin selector official d
Lddu;d()Lddu;
intermediary method_40471
Lnet/minecraft/class_6910;method_40471()Lnet/minecraft/class_6910;
named abs
Lnet/minecraft/world/gen/densityfunction/DensityFunction;abs()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
square
- Mappings:
Namespace Name Mixin selector official e
Lddu;e()Lddu;
intermediary method_40472
Lnet/minecraft/class_6910;method_40472()Lnet/minecraft/class_6910;
named square
Lnet/minecraft/world/gen/densityfunction/DensityFunction;square()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
cube
- Mappings:
Namespace Name Mixin selector official f
Lddu;f()Lddu;
intermediary method_40473
Lnet/minecraft/class_6910;method_40473()Lnet/minecraft/class_6910;
named cube
Lnet/minecraft/world/gen/densityfunction/DensityFunction;cube()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
halfNegative
- Mappings:
Namespace Name Mixin selector official g
Lddu;g()Lddu;
intermediary method_40474
Lnet/minecraft/class_6910;method_40474()Lnet/minecraft/class_6910;
named halfNegative
Lnet/minecraft/world/gen/densityfunction/DensityFunction;halfNegative()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
quarterNegative
- Mappings:
Namespace Name Mixin selector official h
Lddu;h()Lddu;
intermediary method_40475
Lnet/minecraft/class_6910;method_40475()Lnet/minecraft/class_6910;
named quarterNegative
Lnet/minecraft/world/gen/densityfunction/DensityFunction;quarterNegative()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
squeeze
- Mappings:
Namespace Name Mixin selector official i
Lddu;i()Lddu;
intermediary method_40476
Lnet/minecraft/class_6910;method_40476()Lnet/minecraft/class_6910;
named squeeze
Lnet/minecraft/world/gen/densityfunction/DensityFunction;squeeze()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-