#Replace pRNG with tRNG

35 messages · Page 1 of 1 (latest)

frozen python
#

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.

vapid moth
#

why?

rose wedge
#

Hmm this is interesting

frosty whale
#

this is pRNG is cool because purely technically, it's deterministic

stone zealot
#

What does true random help with?

delicate sequoia
#

When you create a save it doesn’t care about the seed and random things like mobs are even more random ig

stone zealot
#

You're not satisfied with 18.4 quintillion different worlds?

tulip knot
stone zealot
#

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

short ether
#

i don't think a tRNG would work with a game like minecraft

vapid moth
#

why not?

thorn stream
#

Minecraft strictly depends on deterministic pseudo-random values

median spade
#

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

frozen python
# vapid moth why?

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.

frozen python
frozen python
frozen python
#

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.

thorn stream
#

Vanilla depends on some things having the same sequence every time

#

While using seeded random

#

Rendering for example

#

And collisions

frozen python
#

So what parts of the game can use tRNG without breaking anything?

vapid moth
#

mob pathfinding

torn sapphire
#

Would be a cool idea for mobs

#

Because they suck a little and are predictable

median spade
#

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

torn sapphire
thorn stream
#

Honestly not sure if you would notice really

torn sapphire
#

By the way, tRNG don't uses more resources? Minecraft already has it's performance problems...