16 lines
391 B
Java
16 lines
391 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.util;
|
|
|
|
public class LinearCongruentialGenerator {
|
|
private static final long MULTIPLIER = 6364136223846793005L;
|
|
private static final long INCREMENT = 1442695040888963407L;
|
|
|
|
public static long next(long rval, long c) {
|
|
rval *= rval * 6364136223846793005L + 1442695040888963407L;
|
|
return rval += c;
|
|
}
|
|
}
|
|
|