Closed nahkd123 closed 7 months ago
nahh I think I'll move back to Java 21, because Minecraft 1.20.5 is likely going to use Java 21 and I just discovered a cursed way to use FFMAPI on Java 21 without --enable-preview
.
By changing the minor version to 0x0000
at binary level, I can trick JVM into thinking that the class wasn't compiled with preview features enabled, yet it stills allow you to use FFMAPI without problems.
I got it working! Time to close this I guess?
Move inking-otd out of Java 21 with preview features and make it requires Java 22 or later. Other Inking components will remain at Java 17 for now.