AnOpenSauceDev / FastRandom

An optimized rewrite of Minecraft's RNG system, for Fabric!
Apache License 2.0
48 stars 3 forks source link

Warn if JDK is unsupported #31

Closed Steveplays28 closed 8 months ago

AnOpenSauceDev commented 9 months ago

We can do this in 3 ways:

  1. Warn the user pre-launch before Faster Random loads the classes with the RandomGenerator's
  2. Use a mixin plugin to disable all of Faster Random's functionality, then pop up a screen with the warning (useless on servers though)
  3. Forcefully crash MC with a more obvious warning.

Not sure what would get the message across the best.

AnOpenSauceDev commented 8 months ago

3.0.2 implements 1 and 3

AnOpenSauceDev commented 6 months ago

I have made a JDK warning as of https://github.com/AnOpenSauceDev/FastRandom/commit/816f7cec1e102cbdf9988855e8ac5a55056ed2c7, but I'm not sure of a known broken JDK.