PaperMC/patches
Spottedleaf afb5b13056 Replace SimpleRandom with (Simple)ThreadUnsafeRandom
ThreadUnsafeRandom is a random implementation that is
identical to LegacyRandomSource behaviourally, but
without the thread checks.

SimpleThreadUnsafeRandom is ThreadUnsafeRandom except with
its nextInt(int) function replaced with a faster
but more biased implementation when bound is very large.

Additionally, replace Level/Entity randoms with ThreadUnsafeRandom.
This avoids the expensive CAS logic at the expense of losing the
thread check.
2024-11-27 06:16:27 -08:00
..
api Expose particle status client option (#11573) 2024-11-26 18:46:12 +01:00
removed/1.20.5 Allow using old ender pearl behavior & apply ender pearl exploit patch (#11524) 2024-10-30 18:09:05 +01:00
server Replace SimpleRandom with (Simple)ThreadUnsafeRandom 2024-11-27 06:16:27 -08:00
unapplied/server [ci skip] Add missing feature patch identifiers 2024-11-18 12:31:36 +01:00