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 dhe$i
intermediary net/minecraft/class_6916$class_6924
named 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
Modifier and TypeFieldDescriptionstatic final CodecHolder<DensityFunctionTypes.EndIslands>
private static final float
private final SimplexNoiseSampler
Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
CODEC, FUNCTION_CODEC, REGISTRY_ENTRY_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCodecHolder<? extends DensityFunction>
double
maxValue()
double
minValue()
private static float
sample
(SimplexNoiseSampler sampler, int x, int z) double
Returns 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, wait
Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeeze
Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction.Base
apply, fill
-
Field Details
-
CODEC_HOLDER
- Mappings:
Namespace Name Mixin selector official a
Ldhe$i;a:Laou;
intermediary field_37085
Lnet/minecraft/class_6916$class_6924;field_37085:Lnet/minecraft/class_7243;
named CODEC_HOLDER
Lnet/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 e
Ldhe$i;e:F
intermediary field_37677
Lnet/minecraft/class_6916$class_6924;field_37677:F
named field_37677
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;field_37677:F
-
sampler
- Mappings:
Namespace Name Mixin selector official f
Ldhe$i;f:Ldwk;
intermediary field_36554
Lnet/minecraft/class_6916$class_6924;field_36554:Lnet/minecraft/class_3541;
named sampler
Lnet/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>
Ldhe$i;<init>(J)V
intermediary <init>
Lnet/minecraft/class_6916$class_6924;<init>(J)V
named <init>
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$EndIslands;<init>(J)V
-
-
Method Details
-
sample
- Mappings:
Namespace Name Mixin selector official a
Ldhe$i;a(Ldwk;II)F
intermediary method_41529
Lnet/minecraft/class_6916$class_6924;method_41529(Lnet/minecraft/class_3541;II)F
named sample
Lnet/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:
sample
in interfaceDensityFunction
- Parameters:
pos
- the block position- Returns:
- the density value for the given block position
- Mappings:
Namespace Name Mixin selector official a
Ldhd;a(Ldhd$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
-
minValue
public double minValue()- Specified by:
minValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Ldhd;a()D
intermediary comp_377
Lnet/minecraft/class_6910;comp_377()D
named minValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official b
Ldhd;b()D
intermediary comp_378
Lnet/minecraft/class_6910;comp_378()D
named maxValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
getCodecHolder
- Specified by:
getCodecHolder
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official c
Ldhd;c()Laou;
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;
-