Minecraft (like most games) use a pseudo random number generator (pRNG) because a lot of CPUs don't support true random number generation. A lot of CPUs nowadays do support tRNG (especially higher end ones), so a mod that detects if your CPU supports tRNG and replaces the pRNG Minecraft uses with tRNG if it does would be pretty cool.
#Replace pRNG with tRNG
35 messages · Page 1 of 1 (latest)
why?
Hmm this is interesting
this is pRNG is cool because purely technically, it's deterministic
What does true random help with?
When you create a save it doesn’t care about the seed and random things like mobs are even more random ig
You're not satisfied with 18.4 quintillion different worlds?
it’s about sending a message
I mean, if you implement it just for the fun it I have no issues with it, but asking for it as a request makes no sense to me
This isn't something you might want or need in any capacity
i don't think a tRNG would work with a game like minecraft
why not?
Minecraft strictly depends on deterministic pseudo-random values
Well seeds certainly are
Can't fully replace pseudo randomness
Maybe in something else like particle speed, direction, mob goals you can use tRNG but there isnt really a point to that
Because it already feels random enough, despite certain mob goals being very predictive
No real reason, it just seems like a cool thing to have and if the hardware supports tRNG, why use pRNG? If something is meant to be random in the game, having it be truly random would be cool even if it isn't noticeable.
Why would true random values cause issues?
fr
Why?
If nobody want to implement it, I'd be open to giving it a shot myself is someone knows what classes I'd need to mixin into for this.
Vanilla depends on some things having the same sequence every time
While using seeded random
Rendering for example
And collisions
So what parts of the game can use tRNG without breaking anything?
mob pathfinding
the predictability is because of goals. They were made to be predictable.
Some goals don't even use random. It's the only goal if the condition is reached
Yep but in some circumstances would be better more randomness, i am not talking for all the mobs
Honestly not sure if you would notice really
By the way, tRNG don't uses more resources? Minecraft already has it's performance problems...