Skip to content

pocketmine\world\generator\vanilla\density ​

Classes ​

NameKindSummary
BinaryFunction 5.46.0classadd, sub, mul, div, min, max
BlendedNoiseFunction 5.46.0class"minecraft:old_blended_noise"
CacheFunction 5.46.0class"minecraft:cache" marker
ClampFunction 5.46.0class"minecraft:clamp"
ConstantFunction 5.46.0class
CubicSpline 5.46.0classCubic (Hermite) spline over a density function coordinate, evaluated in single precision like vanilla (ported from misode/deepslate CubicSpl
DensityFunction 5.46.0classNode of a vanilla density function graph (worldgen/density_function), bound to a world seed
DistanceToPointFunction 5.46.0class"minecraft:distance_to_point": distance from the block to a fixed point
EndIslandsFunction 5.46.0class"minecraft:end_outer_islands": the small islands of the outer End (more than 64 chunks from 0,0), one candidate per chunk where a seeded sim
FindTopSurfaceFunction 5.46.0class"minecraft:find_top_surface": highest y (stepping down by cellHeight from upperBound) where density > 0
GradientFunction 5.46.0class"minecraft:gradient": clamped linear ramp along one axis between two coordinates, optionally repeating
InterpolatedFunction 5.46.0class"minecraft:interpolated": the input is sampled at cell corners and trilinearly interpolated in between
IntervalSelectFunction 5.46.0class"minecraft:interval_select": functions[i] for the first threshold the input is below, otherwise the last function
LerpFunction 5.46.0class"minecraft:lerp": first + alpha * (second - first), in single precision unless alpha is exactly 0 or 1
NamedFunction 5.46.0classA reference to a registered density function ("minecraft:overworld/continents")
NoiseFunction 5.46.0class"minecraft:noise": a normal noise sampled at (x * xzScale + shiftX, y * yScale + shiftY, z * xzScale + shiftZ)
RangeChoiceFunction 5.46.0class"minecraft:range_choice": whenInRange if minInclusive <= input < maxExclusive, else whenOutOfRange
ShiftNoiseFunction 5.46.0class"minecraft:shift_a" (x, 0, z), "minecraft:shift_b" (z, x, 0) and "minecraft:shift" (x, y, z): 4 * noise(coordinates / 4)
SliceFunction 5.46.0class"minecraft:slice": evaluates the input with one coordinate fixed (e
SplineFunction 5.46.0class"minecraft:spline"
UnaryFunction 5.46.0classSingle-input transforms: abs, square, cube, half_negative, quarter_negative, squeeze, negate, sqrt, log, sign, reciprocal

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.