作者:rebot | 分类:模组
Minecraft 版本: 1.7.10
平台: forge
标签: optimization utility
Brings LWJGL3 and modern Java versions to Minecraft 1.7.10. Bundles RetroFuturaBootstrap as a flexible early load plugin system.
To use, just make sure the main jar is in the mods/ directory and configure to launch with Java 8 as usual. On startup, a window should appear prompting you to select a modern Java version to relaunch with, and the JVM settings for that Java installation. If none appear, you should download a modern Java version from your preferred vendor and install it, Java 17 and 21 are the currently recommended versions.
While the mods strives for maximum compatibility, there will inevitably be mods that currently do not work with lwjgl3ify, please check if our issue tracker has them listed and if not open an issue, including the crash report if any, game logs and information about what doesn't work properly.
If you want to tweak your window options, raw mouse input, OpenGL context properties or other more advanced settings, check out the config file in config/lwjgl3ify.cfg after the first startup, or the lwjgl3ify Mod Options in game.
First, install a working Forge server, from a modpack zip or using forge's installer. Then, install the mod jar (and unimixins, hodgepodge and gtnhlib as needed) in mods/, and download the forgePatches jar. Put the forgePatches jar in the same folder as your forge-universal and minecraft server jars. Thermos/Crucible/Hybrid servers are not supported!. Lwjgl3ify also depends on Unimixins. Rename the forgePatches jar to just lwjgl3ify-forgePatches.jar. Grab java9args.txt from the sources of this mod. You can now launch the server with a command like the following, assuming the first java executable on your PATH is java 17/21/newer:
java -Xmx6G -Xms6G @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui
There are a few components to enabling modern Java and LWJGL usage on old Minecraft versions, lwjgl3ify implements these specifically:
Class-Path META-INF manifest entry (integrated into our forgePatches jar)java.text or nio internals in case of Netty.src/main/java/org/lwjglx, src/generated/java/org/lwjglx), the generator is in src/util/javaorg/lwjgl/* classes matching the classes removed from lwjgl3 (e.g. Display) for mods that rely on finding them under that location in the classpath - e.g. for mixin metadataLwjglRedirectTransformer.javajavax/xml/bind -> jakarta/xml/bind/ asm transformer and a shaded version of jakarta.xml.bind, because that API was removed from JRE 11static final fields in Forge.FixConstantPoolInterfaceMethodRefHelper is a transformer to fix a javac 8/asm 5.0 reobfuscator bug which generated wrong entries in the constant pool if method handles to interface methods were usedstatic final fieldsmodule-info.class and META-INF/versions/* classes because it's not Java 9-awareUnsafeHacks class from modern forge, modified to work in more usecases, for replacing some static final writes where it was not feasible/easy to remove final.forgePatches jar before Forge in the classpath to replace them:请登录后举报
暂无评论,抢个沙发吧~