Class NoiseChunk.FlatCache
java.lang.Object
net.minecraft.world.level.levelgen.NoiseChunk.FlatCache
- All Implemented Interfaces:
- DensityFunction,- DensityFunctions.MarkerOrMarked,- NoiseChunk.NoiseChunkDensityFunction
- Enclosing class:
- NoiseChunk
class NoiseChunk.FlatCache
extends Object
implements DensityFunctions.MarkerOrMarked, NoiseChunk.NoiseChunkDensityFunction
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunctionDensityFunction.ContextProvider, DensityFunction.FunctionContext, DensityFunction.NoiseHolder, DensityFunction.SimpleFunction, DensityFunction.SinglePointContext, DensityFunction.Visitor
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DensityFunction(package private) final double[][]Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunctionCODEC, DIRECT_CODEC, HOLDER_HELPER_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublecompute(DensityFunction.FunctionContext p_209333_) voidfillArray(double[] p_209335_, DensityFunction.ContextProvider p_209336_) type()wrapped()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunctionabs, clamp, cube, halfNegative, quarterNegative, square, squeezeMethods inherited from interface net.minecraft.world.level.levelgen.DensityFunctions.MarkerOrMarkedcodec, mapAllMethods inherited from interface net.minecraft.world.level.levelgen.NoiseChunk.NoiseChunkDensityFunctionmaxValue, minValue
- 
Field Details- 
noiseFiller
- 
valuesfinal double[][] values
 
- 
- 
Constructor Details- 
FlatCacheFlatCache(DensityFunction p_209330_, boolean p_209331_) 
 
- 
- 
Method Details- 
compute- Specified by:
- computein interface- DensityFunction
 
- 
fillArray- Specified by:
- fillArrayin interface- DensityFunction
 
- 
wrapped- Specified by:
- wrappedin interface- DensityFunctions.MarkerOrMarked
- Specified by:
- wrappedin interface- NoiseChunk.NoiseChunkDensityFunction
 
- 
type- Specified by:
- typein interface- DensityFunctions.MarkerOrMarked
 
 
-