Add small inc/decr to chance to prevent line artifacts

This commit is contained in:
CocoTheOwner 2021-03-06 12:58:30 +01:00
parent aa90274cc2
commit d3378c638a

View File

@ -434,7 +434,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer {
continue; continue;
} }
if(rng.chance(i.getChance()) && rng.chance(getComplex().getObjectChanceStream().get(x<<4, z<<4))) if(rng.chance(i.getChance() + rng.d(-0.005, 0.005)) && rng.chance(getComplex().getObjectChanceStream().get(x<<4, z<<4)))
{ {
place(rng, x<<4, z<<4, i); place(rng, x<<4, z<<4, i);
} }