Package zombie.core

Class Rand.PZSeedGenerator

java.lang.Object
zombie.core.Rand.PZSeedGenerator
All Implemented Interfaces:
org.uncommons.maths.random.SeedGenerator
Enclosing class:
Rand

public static final class Rand.PZSeedGenerator extends Object implements org.uncommons.maths.random.SeedGenerator
Custom class to disable DevRandomSeedGenerator() on Linux since it can block forever, and disable RandomDotOrgSeedGenerator() since it connects to the internet.
  • Method Details

    • generateSeed

      public byte[] generateSeed(int length)
      Specified by:
      generateSeed in interface org.uncommons.maths.random.SeedGenerator