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 named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslandsintermediary net/minecraft/class_6916$class_6924official erk$i
-
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, invert, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction.Base
apply, fill
-
Field Details
-
CODEC_HOLDER
- Mappings:
Namespace Name Mixin selector named CODEC_HOLDERLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;CODEC_HOLDER:Lnet/minecraft/util/dynamic/CodecHolder;intermediary field_37085Lnet/minecraft/class_6916$class_6924;field_37085:Lnet/minecraft/class_7243;official aLerk$i;a:Lbgc;
-
field_37677
private static final float field_37677- See Also:
- Mappings:
Namespace Name Mixin selector named field_37677Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;field_37677:Fintermediary field_37677Lnet/minecraft/class_6916$class_6924;field_37677:Fofficial bLerk$i;b:F
-
sampler
- Mappings:
Namespace Name Mixin selector named samplerLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sampler:Lnet/minecraft/util/math/noise/SimplexNoiseSampler;intermediary field_36554Lnet/minecraft/class_6916$class_6924;field_36554:Lnet/minecraft/class_3541;official fLerk$i;f:Lfhh;
-
-
Constructor Details
-
EndIslands
public EndIslands(long seed) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;<init>(J)Vintermediary <init>Lnet/minecraft/class_6916$class_6924;<init>(J)Vofficial <init>Lerk$i;<init>(J)V
-
-
Method Details
-
sample
- Mappings:
Namespace Name Mixin selector named sampleLnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;sample(Lnet/minecraft/util/math/noise/SimplexNoiseSampler;II)Fintermediary method_41529Lnet/minecraft/class_6916$class_6924;method_41529(Lnet/minecraft/class_3541;II)Fofficial aLerk$i;a(Lfhh;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 named sampleLnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)Dintermediary method_40464Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)Dofficial aLerj;a(Lerj$b;)D
-
minValue
public double minValue()- Specified by:
minValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named minValueLnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()Dintermediary comp_377Lnet/minecraft/class_6910;comp_377()Dofficial aLerj;a()D
-
maxValue
public double maxValue()- Specified by:
maxValuein interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named maxValueLnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()Dintermediary comp_378Lnet/minecraft/class_6910;comp_378()Dofficial bLerj;b()D
-
getCodecHolder
- Specified by:
getCodecHolderin interfaceDensityFunction- Mappings:
Namespace Name Mixin selector named getCodecHolderLnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;intermediary method_41062Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;official cLerj;c()Lbgc;
-