Java is used to manage RNG in Minecraft. You can forecast states since random is not cryptographically secure. It employs a linear congruental generator, or LCG for short, which is a relatively simple pseudorandom number generator. This means that if you can obtain the seed at some point in the future, you will be able to anticipate all past and future events.