Interface ReferencedDensityFunction
- All Superinterfaces:
DensityFunction, Keyed, Wrapper
A reference to a density function.
- Since:
- 3.0.0
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ReferencedDensityFunctionof(ResourceKey key) Creates a newReferencedDensityFunctionfrom the given key.Methods inherited from interface DensityFunction
abs, add, blendDensity, cache2d, cacheAllInCell, cacheOnce, clamp, cube, findTopSurface, flatCache, halfNegative, interpolated, invert, max, min, mul, quarterNegative, rangeChoice, resourceKey, square, squeeze, wrapMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
of
Creates a newReferencedDensityFunctionfrom the given key.- Parameters:
key- the key of the density function- Returns:
- the density function
- Since:
- 3.0.0
-