Apollounknowndev / tectonic

Enhanced terrain generation with mountain ranges, underground rivers, and more
57 stars 7 forks source link

Incorrect usage of minecraft:max function causing log spam #163

Closed Jonathing closed 2 weeks ago

Jonathing commented 2 weeks ago

Good evening. Before anything, thanks for your work on this datapack. Truly stellar stuff.

When loading this datapack on a server, the log becomes spammed with a single log message repeatedly, and it causes the console to become completely unreadable and thus unreliable. Here is the message below:

[18Jun2024 21:32:23.522] [Worker-Main-7/WARN] [net.minecraft.world.level.levelgen.DensityFunctions$TwoArgumentSimpleFunction/]: Creating a MAX function between two non-overlapping inputs: Constant[value=-0.75] and MulOrAdd[specificType=MUL, input=Spline[spline=Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@bdf4c47}], locations=[F@5650f99f, values=[Constant[value=0.044], Multipoint[coordinate=Coordinate[Direct{Constant[value=-0.45]}], locations=[F@77f236c1, values=[Constant[value=0.0]], derivatives=[F@5111651f, minValue=-0.45, maxValue=0.0], Multipoint[coordinate=Coordinate[Direct{Constant[value=-0.45]}], locations=[F@47f76481, values=[Constant[value=0.0]], derivatives=[F@16baf1e1, minValue=-0.45, maxValue=0.0], Multipoint[coordinate=Coordinate[Direct{Constant[value=-0.15]}], locations=[F@701899c9, values=[Constant[value=0.0]], derivatives=[F@2a7b3348, minValue=-0.15, maxValue=0.0], Constant[value=-0.12], Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@633aed49}], locations=[F@3ac49cfb, values=[Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@30dc3d90, values=[Constant[value=-0.05], Constant[value=0.01]], derivatives=[F@7df12c63, minValue=-0.05, maxValue=0.01], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@4f0d3d19, values=[Constant[value=-0.05], Constant[value=0.175], Constant[value=0.25]], derivatives=[F@24f01e96, minValue=-0.10625001, maxValue=0.30625], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@75919725, values=[Constant[value=-0.05], Constant[value=0.175], Constant[value=0.25]], derivatives=[F@1773fc0, minValue=-0.10625001, maxValue=0.30625], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@27342f02, values=[Constant[value=-0.05], Constant[value=0.01]], derivatives=[F@39491dc, minValue=-0.05, maxValue=0.01], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@7a450634, values=[Constant[value=-0.05], Constant[value=0.01]], derivatives=[F@4274af83, minValue=-0.05, maxValue=0.01], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@443ed4f0, values=[Constant[value=-0.05], Constant[value=0.01]], derivatives=[F@6383b7da, minValue=-0.05, maxValue=0.025], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@31257938, values=[Constant[value=-0.05], Constant[value=0.01]], derivatives=[F@56cac028, minValue=-0.05, maxValue=0.025], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@64e11755, values=[Constant[value=0.01], Constant[value=0.005]], derivatives=[F@1a224174, minValue=-0.031675003, maxValue=0.02166875]], derivatives=[F@d407b1, minValue=-0.19531251, maxValue=0.42937502], Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@633aed49}], locations=[F@9f5c03, values=[Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@6ca8b8fa, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@64097dfa, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@44c00745, values=[Constant[value=-0.05], Constant[value=0.15], Constant[value=0.25]], derivatives=[F@3e45249a, minValue=-0.05, maxValue=0.25], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@170324c0, values=[Constant[value=-0.05], Constant[value=0.15], Constant[value=0.35]], derivatives=[F@384a6d77, minValue=-0.15, maxValue=0.39999998], Constant[value=0.425], Constant[value=0.65], Constant[value=0.425], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@7c74af14, values=[Constant[value=-0.05], Constant[value=0.15], Constant[value=0.35]], derivatives=[F@6b0235f4, minValue=-0.15, maxValue=0.39999998], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@65293970, values=[Constant[value=-0.05], Constant[value=0.15], Constant[value=0.25]], derivatives=[F@ee3c177, minValue=-0.05, maxValue=0.25], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@5736d3b0, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@2de1e137, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@12fbf42, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@11572e69, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@701dc4a0, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@52d77bcd, minValue=-0.056250002, maxValue=0.10625], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@2e7e0b7a, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@6724cba, minValue=-0.056250002, maxValue=0.10625], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@18d4b010, values=[Constant[value=0.03], Constant[value=0.075]], derivatives=[F@7134b9d4, minValue=-0.028345002, maxValue=0.08625001]], derivatives=[F@2fcf4953, minValue=-0.29375002, maxValue=0.70624995], Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@633aed49}], locations=[F@3b4cd78c, values=[Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@625b4c5, values=[Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4}], locations=[F@520b57cc, values=[Constant[value=0.075], Constant[value=-0.05], Constant[value=0.075], Constant[value=0.3], Constant[value=0.6], Constant[value=0.9], Constant[value=0.95]], derivatives=[F@75b190f, minValue=-0.05, maxValue=0.96718746], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@5af65edf, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@75d2d535, values=[Constant[value=0.075]], derivatives=[F@7a87a40, minValue=0.075, maxValue=0.255]], derivatives=[F@2a5a573b, minValue=-0.05, maxValue=0.255]], derivatives=[F@46bcce3d, minValue=-0.05, maxValue=0.96718746], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@25a4c0a2, values=[Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4}], locations=[F@619ac42c, values=[Constant[value=0.075], Constant[value=-0.05], Constant[value=0.075], Constant[value=0.2], Constant[value=0.4], Constant[value=0.6], Constant[value=0.75]], derivatives=[F@1981a4ab, minValue=-0.05, maxValue=0.7875], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@39ec5c80, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@3a4e2acf, values=[Constant[value=0.075]], derivatives=[F@d42320e, minValue=0.075, maxValue=0.255]], derivatives=[F@19727bf1, minValue=-0.05, maxValue=0.255]], derivatives=[F@42212c03, minValue=-0.05, maxValue=0.7875], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@9726eda, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@153cffb8, values=[Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@1f1bb31d, values=[Constant[value=0.075]], derivatives=[F@5411c5c9, minValue=0.075, maxValue=0.255]], derivatives=[F@4e8f752f, minValue=0.075, maxValue=0.255]], derivatives=[F@3c3c9279, minValue=-0.05, maxValue=0.255], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@7e7d5db8, values=[Constant[value=-0.05], Constant[value=0.125], Constant[value=0.225], Constant[value=0.35]], derivatives=[F@2498e033, minValue=-0.13125, maxValue=0.35], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@110bdf82, values=[Constant[value=-0.05], Constant[value=0.222], Constant[value=0.4]], derivatives=[F@49fc2880, minValue=-0.207, maxValue=0.5055], Constant[value=0.55], Constant[value=0.95], Constant[value=0.55], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@5df82c9a, values=[Constant[value=-0.05], Constant[value=0.222], Constant[value=0.4]], derivatives=[F@3e02d66e, minValue=-0.207, maxValue=0.5055], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@71baf9e3, values=[Constant[value=-0.05], Constant[value=0.125], Constant[value=0.225], Constant[value=0.35]], derivatives=[F@59aa777c, minValue=-0.13125, maxValue=0.35], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@452a1c2f, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@6d330342, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@4b608ae6, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@417b1561, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@54a5a205, values=[Constant[value=-0.05], Constant[value=0.075], Constant[value=0.25]], derivatives=[F@21f982c0, minValue=-0.05, maxValue=0.29375], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@6e011ba3, values=[Constant[value=-0.05], Constant[value=0.075], Constant[value=0.25]], derivatives=[F@77c8db1f, minValue=-0.05, maxValue=0.29375], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@e84ea69, values=[Constant[value=0.03], Constant[value=0.075]], derivatives=[F@630696fb, minValue=-0.028345002, maxValue=0.08625001]], derivatives=[F@5bc553b, minValue=-0.207, maxValue=0.96718746], Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@633aed49}], locations=[F@349d76b0, values=[Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@1de315e8, values=[Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4}], locations=[F@4a85e9e1, values=[Constant[value=0.075], Constant[value=-0.05], Constant[value=0.075], Constant[value=0.3], Constant[value=0.6], Constant[value=0.9], Constant[value=0.95]], derivatives=[F@2df76807, minValue=-0.05, maxValue=0.96718746], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@7280a3ff, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@77c9a412, values=[Constant[value=0.075]], derivatives=[F@12e691eb, minValue=0.075, maxValue=0.255]], derivatives=[F@44774e0, minValue=-0.05, maxValue=0.255]], derivatives=[F@732fb0cc, minValue=-0.05, maxValue=0.96718746], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@497c738f, values=[Multipoint[coordinate=Coordinate[Direct{net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4}], locations=[F@6f33da82, values=[Constant[value=0.075], Constant[value=-0.05], Constant[value=0.075], Constant[value=0.2], Constant[value=0.4], Constant[value=0.6], Constant[value=0.75]], derivatives=[F@50ec43f0, minValue=-0.05, maxValue=0.7875], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@5ecb30f1, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@7481c0ac, values=[Constant[value=0.075]], derivatives=[F@597e374, minValue=0.075, maxValue=0.255]], derivatives=[F@3756c3f5, minValue=-0.05, maxValue=0.255]], derivatives=[F@309d2156, minValue=-0.05, maxValue=0.7875], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@4a630349, values=[Constant[value=-0.05], Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1a615980, minValue=-4.720975056689341, maxValue=4.820975056689341, argument=0.05]}], locations=[F@70d5c532, values=[Constant[value=0.075], Multipoint[coordinate=Coordinate[Direct{MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=MulOrAdd[specificType=ADD, input=MulOrAdd[specificType=MUL, input=Mapped[type=ABS, input=MulOrAdd[specificType=ADD, input=Clamp[input=MulOrAdd[specificType=ADD, input=Mapped[type=ABS, input=ShiftedNoise[shiftX=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], shiftY=Constant[value=0.0], shiftZ=MulOrAdd[specificType=MUL, input=Noise[noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/warp]=NoiseParameters[firstOctave=-6, amplitudes=[1.3]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3c92afff], xzScale=0.3, yScale=0.0], minValue=-216.66666666666666, maxValue=216.66666666666666, argument=50.0], xzScale=0.4, yScale=0.0, noise=NoiseHolder[noiseData=Reference{ResourceKey[minecraft:worldgen/noise / tectonic:dune/ridge]=NoiseParameters[firstOctave=-8, amplitudes=[1.0, 1.5, 1.2, 1.0, 1.0]]}, noise=net.minecraft.world.level.levelgen.synth.NormalNoise@3cbad23a]], minValue=0.0, maxValue=6.415770609318996], minValue=-0.05, maxValue=6.3657706093189965, argument=-0.05], minValue=0.0, maxValue=0.6], minValue=-0.3, maxValue=0.3, argument=-0.3], minValue=0.0, maxValue=0.3], minValue=-0.105, maxValue=-0.0, argument=-0.35], minValue=0.0, maxValue=0.105, argument=0.105], minValue=0.0, maxValue=0.105, argument=1.0], minValue=0.075, maxValue=0.18, argument=0.075]}], locations=[F@719de9b6, values=[Constant[value=0.075]], derivatives=[F@28d3e142, minValue=0.075, maxValue=0.255]], derivatives=[F@7af8c65a, minValue=0.075, maxValue=0.255]], derivatives=[F@24da7062, minValue=-0.05, maxValue=0.255], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@3a94fd16, values=[Constant[value=-0.05], Constant[value=0.125], Constant[value=0.225], Constant[value=0.35]], derivatives=[F@d7ac2f7, minValue=-0.13125, maxValue=0.35], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@318c0f14, values=[Constant[value=-0.05], Constant[value=0.222], Constant[value=0.4]], derivatives=[F@46222027, minValue=-0.207, maxValue=0.5055], Constant[value=0.65], Constant[value=1.1], Constant[value=0.65], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@5b4319b8, values=[Constant[value=-0.05], Constant[value=0.222], Constant[value=0.4]], derivatives=[F@75055d, minValue=-0.207, maxValue=0.5055], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@51505ee8, values=[Constant[value=-0.05], Constant[value=0.125], Constant[value=0.225], Constant[value=0.35]], derivatives=[F@6247ffd, minValue=-0.13125, maxValue=0.35], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@45e93858, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@6d1e9255, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@3eea2600, values=[Constant[value=-0.05], Constant[value=0.075]], derivatives=[F@1b946db7, minValue=-0.05, maxValue=0.075], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@1733ad65, values=[Constant[value=-0.05], Constant[value=0.075], Constant[value=0.25]], derivatives=[F@e2619ec, minValue=-0.05, maxValue=0.29375], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@6193f40e, values=[Constant[value=-0.05], Constant[value=0.075], Constant[value=0.25]], derivatives=[F@5952c45e, minValue=-0.05, maxValue=0.29375], Multipoint[coordinate=Coordinate[Direct{Mapped[type=ABS, input=net.minecraft.world.level.levelgen.NoiseChunk$FlatCache@1f9961a4, minValue=0.0, maxValue=5.7142857142857135]}], locations=[F@53800294, values=[Constant[value=0.03], Constant[value=0.075]], derivatives=[F@6dd79871, minValue=-0.028345002, maxValue=0.08625001]], derivatives=[F@139a3241, minValue=-0.207, maxValue=1.1]], derivatives=[F@5ca56458, minValue=-0.45, maxValue=1.1]], minValue=-0.5062499865889549, maxValue=1.2375000268220901, argument=1.125]

This error message is complaining about the incorrect usage of a minecraft:max function, saying that there is no overlap between the two parameters, with one being -0.75 and the other being this massive function that is, what I presume to be, driving this entire density function. I've tested this datapack on Fabric, Forge, and NeoForge, and can confirm it happens indiscriminately on all three of those mod loaders.

By tracking down the usage of -0.75, I found the source of the problem to be the modification of minecraft:overworld/offset and minecraft:overworld_large_biomes/offset density functions. I do not know if the intention was to have the function type be minecraft:min rather than minecraft:max, but removing it altogether also solves this problem. Here are my patch diffs of my changes for your ease of access.

--- origin/data/minecraft/worldgen/density_function/overworld/offset.json      2024-06-04 16:58:52.000000000 -0400
+++ fixed/data/minecraft/worldgen/density_function/overworld/offset.json       2024-06-18 21:22:52.444851228 -0400
@@ -34,9 +34,6 @@
             "argument2": "tectonic:overworld/legacy/offset_noise"
           },
           "argument2": {
-            "type": "minecraft:max",
-            "argument1": -0.75,
-            "argument2": {
               "type": "minecraft:mul",
               "argument1": "tectonic:constants/terrain_scale",
               "argument2": {
@@ -1414,7 +1411,6 @@
                   ]
                 }
               }
-            }
           }
         },
         "argument2": {
--- origin/data/minecraft/worldgen/density_function/overworld_large_biomes/offset.json        2024-06-04 16:58:44.000000000 -0400
+++ fixed/data/minecraft/worldgen/density_function/overworld_large_biomes/offset.json         2024-06-18 21:23:21.536528896 -0400
@@ -34,12 +34,9 @@
             "argument2": "tectonic:overworld/legacy/offset_noise"
           },
           "argument2": {
-            "type": "minecraft:max",
-            "argument1": -0.75,
-            "argument2": {
                "type": "minecraft:mul",
                "argument1": "tectonic:constants/terrain_scale",
                "argument2": {
@@ -1302,7 +1299,6 @@
                   ]
                 }
               }
-            }
           }
         },
         "argument2": {

Patching the density functions like this causes the warning to stop spawning in the console. There also seems to be no adverse side effects in the terrain generation (although, it's not my expertise so you should test that yourself) and the console had generated no other errors.

All in all, and with all due respect, please test your datapacks on the version you will be posting them for before you do so. 🫡

Minecraft 1.21 Tectonic 2.4.0

Apollounknowndev commented 2 weeks ago

I posted a fix for this issue on Modrinth a few days ago with 2.4.0a. Forgot to update it on Curseforge so if you downloaded the pack from there than that's on me