-
Bug
-
Resolution: Unresolved
-
None
-
1.19, 1.19.2, 1.19.3 Release Candidate 1, 1.20.4, 23w51b
-
None
-
Plausible
-
Custom Worlds
-
Low
-
Platform
The "clamp" density function type has an "input" field. But it only allows a direct (inlined) density function or a constant, it doesn't allow a reference (string). This is inconsistent with every other density function that takes another density function as argument.
The reason is because DensityFunctions.Clamp uses DensityFunction.DIRECT_CODEC, instead of DensityFunctions.HOLDER_HELPER_CODEC, which is what every other density function type uses.