Update readme
This commit is contained in:
parent
71c6950d95
commit
81b41d267d
@ -3,12 +3,13 @@ Better Random
|
||||
=======
|
||||
|
||||
Or Better PRNG, is a mod which replace Minecraft's default
|
||||
[Linear congruential generator](https://en.wikipedia.org/wiki/Linear_congruential_generator) (LCG for short, used for generating most of random game events)
|
||||
[Linear congruential generator](https://en.wikipedia.org/wiki/Linear_congruential_generator)
|
||||
(LCG for short, used for generating most of random game events, as well as generator used when generating world features)
|
||||
and Xoshiro128PlusPlus (used to generate "sequences" aka random generator used for `LootPool`s)
|
||||
with a better random number generator, [gjrand](https://gjrand.sourceforge.net).
|
||||
|
||||
### Features:
|
||||
* Replaces `RandomSupport#create`, and subsequently, `Entity#random`, `Level#random`, countless other places including mods;
|
||||
* Replaces `RandomSupport#create`, and subsequently, `Entity#random`, `Level#random`, worldgen (but not noise map, which means world will have same elevation, but different feature placement), countless other places including mods;
|
||||
* Replaces `RandomSequence` and `RandomSequences` with versions which use gjrand;
|
||||
* Replaces `Level#getBlockRandomPos` to use `Level#random`. Previously, `getBlockRandomPos` utilized LCG with even worse properties than one of `Level#random`.
|
||||
|
||||
@ -16,5 +17,7 @@ with a better random number generator, [gjrand](https://gjrand.sourceforge.net).
|
||||
|
||||
Should be compatible with everything that doesn't go around public interfaces vanilla code provide.
|
||||
Existing `RandomSequence` saved data is left untouched (in meaning that nothing is done to it through code,
|
||||
but Minecraft continue to load/create it upon server start), and removing Better Random mid-game won't have any side effects.
|
||||
but Minecraft continue to load/create it upon server start), and removing Better Random mid-game won't have any
|
||||
noticeable side effects (but world generation *may* look weird after installing/removing the mod, because
|
||||
`RandomSupport#create` is used to determine how to place world features, such as ores and trees).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user