Class WhiteNoise

java.lang.Object
net.minestom.server.instance.painter.WhiteNoise

public final class WhiteNoise extends Object
  • Constructor Details

    • WhiteNoise

      public WhiteNoise()
  • Method Details

    • noise

      public static Painter.PosPredicate noise(double chance, long seed)
      Returns a predicate that returns true if the noise value at the given position is less than the given chance.