Package net.minecraft.world.gen.chunk
Class ChunkNoiseSampler.CacheOnce
java.lang.Object
net.minecraft.world.gen.chunk.ChunkNoiseSampler.CacheOnce
- All Implemented Interfaces:
ChunkNoiseSampler.ParentedNoiseType
,DensityFunction
,DensityFunctionTypes.Wrapper
- Enclosing class:
ChunkNoiseSampler
private class ChunkNoiseSampler.CacheOnce
extends Object
implements DensityFunctionTypes.Wrapper, ChunkNoiseSampler.ParentedNoiseType
- Mappings:
Namespace Name official dav$f
intermediary net/minecraft/class_6568$class_6950
named net/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce
-
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 TypeFieldDescriptionprivate @org.jetbrains.annotations.Nullable double[]
private long
private final DensityFunction
private double
private long
Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
CODEC, FUNCTION_CODEC, REGISTRY_ENTRY_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEach
(double[] densities, DensityFunction.EachApplier applier) double
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Wrapping.Type
type()
wrapped()
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.chunk.ChunkNoiseSampler.ParentedNoiseType
maxValue, minValue
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.DensityFunctionTypes.Wrapper
apply, getCodecHolder
-
Field Details
-
delegate
- Mappings:
Namespace Name Mixin selector official e
Ldav$f;e:Ldak;
intermediary field_36606
Lnet/minecraft/class_6568$class_6950;field_36606:Lnet/minecraft/class_6910;
named delegate
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;delegate:Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
sampleUniqueIndex
private long sampleUniqueIndex- Mappings:
Namespace Name Mixin selector official f
Ldav$f;f:J
intermediary field_36607
Lnet/minecraft/class_6568$class_6950;field_36607:J
named sampleUniqueIndex
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;sampleUniqueIndex:J
-
cacheOnceUniqueIndex
private long cacheOnceUniqueIndex- Mappings:
Namespace Name Mixin selector official g
Ldav$f;g:J
intermediary field_36608
Lnet/minecraft/class_6568$class_6950;field_36608:J
named cacheOnceUniqueIndex
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;cacheOnceUniqueIndex:J
-
lastSamplingResult
private double lastSamplingResult- Mappings:
Namespace Name Mixin selector official h
Ldav$f;h:D
intermediary field_36609
Lnet/minecraft/class_6568$class_6950;field_36609:D
named lastSamplingResult
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;lastSamplingResult:D
-
cache
- Mappings:
Namespace Name Mixin selector official i
Ldav$f;i:[D
intermediary field_36610
Lnet/minecraft/class_6568$class_6950;field_36610:[D
named cache
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;cache:[D
-
-
Constructor Details
-
CacheOnce
CacheOnce(DensityFunction delegate) - Mappings:
Namespace Name Mixin selector official <init>
Ldav$f;<init>(Ldav;Ldak;)V
intermediary <init>
Lnet/minecraft/class_6568$class_6950;<init>(Lnet/minecraft/class_6568;Lnet/minecraft/class_6910;)V
named <init>
Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$CacheOnce;<init>(Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler;Lnet/minecraft/world/gen/densityfunction/DensityFunction;)V
-
-
Method Details
-
sample
- Specified by:
sample
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Ldak;a(Ldak$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
- Specified by:
applyEach
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Ldak;a([DLdak$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
-
wrapped
- Specified by:
wrapped
in interfaceChunkNoiseSampler.ParentedNoiseType
- Specified by:
wrapped
in interfaceDensityFunctionTypes.Wrapper
- Mappings:
Namespace Name Mixin selector official k
Ldal$m;k()Ldak;
intermediary comp_469
Lnet/minecraft/class_6916$class_7052;comp_469()Lnet/minecraft/class_6910;
named wrapped
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapper;wrapped()Lnet/minecraft/world/gen/densityfunction/DensityFunction;
-
type
public net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Wrapping.Type type()- Specified by:
type
in interfaceDensityFunctionTypes.Wrapper
- Mappings:
Namespace Name Mixin selector official j
Ldal$m;j()Ldal$l$a;
intermediary comp_383
Lnet/minecraft/class_6916$class_7052;comp_383()Lnet/minecraft/class_6916$class_6927$class_6928;
named type
Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapper;type()Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Wrapping$Type;
-