Class DensityFunctionTypes.EndIslands
java.lang.Object
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.EndIslands
- All Implemented Interfaces:
DensityFunction,DensityFunction.Base
- Enclosing class:
DensityFunctionTypes
protected static final class DensityFunctionTypes.EndIslands
extends Object
implements DensityFunction.Base
- Mappings:
Namespace Name intermediary net/minecraft/class_6916$class_6924official dhb$inamed net/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.Base, DensityFunction.DensityFunctionVisitor, DensityFunction.EachApplier, DensityFunction.Noise, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CodecHolder<DensityFunctionTypes.EndIslands>private static final floatprivate final SimplexNoiseSamplerFields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
CODEC, FUNCTION_CODEC, REGISTRY_ENTRY_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCodecHolder<? extends DensityFunction>doublemaxValue()doubleminValue()private static floatsample(SimplexNoiseSampler sampler, int x, int z) doubleReturns the density value for the given block position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction.Base
apply, fill
-
Field Details
-
CODEC_HOLDER
- Mappings:
Namespace Name Mixin selector intermediary field_37085Lnet/minecraft/class_6916$class_6924;field_37085:Lnet/minecraft/class_7243;official aLdhb$i;a:Laou;named CODEC_HOLDERLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;CODEC_HOLDER:Lnet/minecraft/util/dynamic/CodecHolder;
-
field_37677
private static final float field_37677- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_37677Lnet/minecraft/class_6916$class_6924;field_37677:Fofficial eLdhb$i;e:Fnamed field_37677Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;field_37677:F
-
sampler
- Mappings:
Namespace Name Mixin selector intermediary field_36554Lnet/minecraft/class_6916$class_6924;field_36554:Lnet/minecraft/class_3541;official fLdhb$i;f:Ldwh;named samplerLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sampler:Lnet/minecraft/util/math/noise/SimplexNoiseSampler;
-
-
Constructor Details
-
EndIslands
public EndIslands(long seed) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_6916$class_6924;<init>(J)Vofficial <init>Ldhb$i;<init>(J)Vnamed <init>Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;<init>(J)V
-
-
Method Details
-
sample
- Mappings:
Namespace Name Mixin selector intermediary method_41529Lnet/minecraft/class_6916$class_6924;method_41529(Lnet/minecraft/class_3541;II)Fofficial aLdhb$i;a(Ldwh;II)Fnamed sampleLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sample(Lnet/minecraft/util/math/noise/SimplexNoiseSampler;II)F
-
sample
Returns the density value for the given block position.- Specified by:
samplein interfaceDensityFunction- Parameters:
pos- the block position- Returns:
- the density value for the given block position
- Mappings:
Namespace Name Mixin selector intermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dofficial aLdha;a(Ldha$b;)Dnamed sampleLnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
-
minValue
public double minValue()- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector intermediary comp_377Lnet/minecraft/class_6910;comp_377()Dofficial aLdha;a()Dnamed minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector intermediary comp_378Lnet/minecraft/class_6910;comp_378()Dofficial bLdha;b()Dnamed maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
getCodecHolder
- Specified by:
getCodecHolderin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;official cLdha;c()Laou;named getCodecHolderLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;
-