File size: 381 Bytes
d46f4a3
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
package net.minecraft.util;

public class LinearCongruentialGenerator {
    private static final long MULTIPLIER = 6364136223846793005L;
    private static final long INCREMENT = 1442695040888963407L;

    public static long next(long p_13973_, long p_13974_) {
        p_13973_ *= p_13973_ * 6364136223846793005L + 1442695040888963407L;
        return p_13973_ + p_13974_;
    }
}