Collection of utilities to work with minecraft RNG.
Linear Congruential Generator https://en.wikipedia.org/wiki/Linear_congruential_generator The type of random number generator used by Java. ?tbd //TODO: need to document the classes
An implementation of Java's Random https://docs.oracle.com/javase/8/docs/api/java/util/Random.html ?tbd //TODO: need to document the classes
Returns the decrypted player seed example
Returns
- Seed numberbits
- Encrypted seed string?
❗ this is highly experimental, and for helping to build a seed cracking tool
Returns
- Object or null ?tbdplayerSeed
- BigIntitem
- Item object to enchantpower
- Number of bookshelves around the tablematching
- Matching function that returns a bool ?tbd
Returns
- Array ?tbdxpseed
- Number of the seed of the rng for the next enchantitem
- Item object to enchantslot
- ?tbdlevel
- Number ?tbd
Returns
- Numeber ?tbdrand
- ?tbdslot
- ?tbdpower
- Number of bookshelves around the tableitem
- Item object to enchant
Returns
- Power number ?tbdpos
- Vec3 ?tbdworld
- ?tbd
Returns a promise
Returns
- Promise that resolves to ?tbdmcData
- mcDataworldSeed
- World seed numberdimension
- Dimension string (defaults to "overworld")