Merge pull request #1216 from Starmute/future
Fix caveEntrance sampling being incorrect (please check)
This commit is contained in:
1 file changed
+5
-1
@@ -219,7 +219,11 @@ public abstract class NoiseColumnSamplerMixin_scarpetMixin implements NoiseColum
|
|||||||
return NoiseHelper.lerpFromProgress(this.spaghettiRoughnessModulatorNoise, x, y, z, 0.0, 0.1);
|
return NoiseHelper.lerpFromProgress(this.spaghettiRoughnessModulatorNoise, x, y, z, 0.0, 0.1);
|
||||||
}
|
}
|
||||||
case "caveEntrance" -> {
|
case "caveEntrance" -> {
|
||||||
return this.sampleCaveEntranceNoise(x, y, z);
|
return this.sampleCaveEntranceNoise(
|
||||||
|
BiomeCoords.toBlock(x),
|
||||||
|
BiomeCoords.toBlock(y),
|
||||||
|
BiomeCoords.toBlock(z)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
case "caveLayer" -> {
|
case "caveLayer" -> {
|
||||||
// scaling them by 4 because it's sampled in normal coords
|
// scaling them by 4 because it's sampled in normal coords
|
||||||
|
|||||||
Reference in new issue
Block a user