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 official dul$iintermediary net/minecraft/class_6916$class_6924named 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 official aLdul$i;a:Laxe;intermediary field_37085Lnet/minecraft/class_6916$class_6924;field_37085:Lnet/minecraft/class_7243;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 official eLdul$i;e:Fintermediary field_37677Lnet/minecraft/class_6916$class_6924;field_37677:Fnamed field_37677Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;field_37677:F
-
sampler
- Mappings:
Namespace Name Mixin selector official fLdul$i;f:Lejy;intermediary field_36554Lnet/minecraft/class_6916$class_6924;field_36554:Lnet/minecraft/class_3541;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 official <init>Ldul$i;<init>(J)Vintermediary <init>Lnet/minecraft/class_6916$class_6924;<init>(J)Vnamed <init>Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;<init>(J)V
-
-
Method Details
-
sample
- Mappings:
Namespace Name Mixin selector official aLdul$i;a(Lejy;II)Fintermediary method_41529Lnet/minecraft/class_6916$class_6924;method_41529(Lnet/minecraft/class_3541;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 official aLduk;a(Lduk$b;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)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 official aLduk;a()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dnamed minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official bLduk;b()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dnamed maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
getCodecHolder
- Specified by:
getCodecHolderin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector official cLduk;c()Laxe;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;named getCodecHolderLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;
-