跳到正文

SuperWithJava25

作者:ChristKind_v1

SuperWithJava25 is a lightweight compatibility coremod for Minecraft 1.7.10 that allows Fisk's Superheroes to run on modern Java versions (Java 21 through Java 25+) when using LWJGL3ify.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

 

SuperWithJava25

MC 1.7.10 // JAVA 21+ FIX

makes fisk’s mod actually boot on modern java so i can play

 

tl;dr why it crashes

fisk’s mod calls jdk.nashorn for hero JS packs. oracle deleted nashorn in java 15. https://openjdk.org/jeps/372 and game goes boom:

Caused by: java.lang.ClassNotFoundException: Class bytes are null for jdk.nashorn.api.scripting.NashornScriptEngineFactory

what i did instead of rewriting fisk’s mod

  • shaded standalone org.openjdk.nashorn:nashorn-core into the jar
  • wrote a lazy ASM transformer to catch com.fiskmods.heroes.* at boot
  • replaces all string/type refs from jdk.nashorn -> org.openjdk.nashorn in memory so it just works

optimization stuff

if you want to optimize minecraft 1.7.10, check out this guide:
Minecraft 1.7.10 Optimization Guide

requirements or whatever

1.7.10 / Forge 1614+ / Java 21-25 (LWJGL3ify) / Fisk’s Superheroes 2.4.0+

works on both client and server (just put it in /mods).

install

  1. drop jar in mods/
  2. launch game
  3. profit

 

why this exists

was working on advanced lightsabers rewrite structure generation, got annoyed, made this in like 20 minutes to procrastinate. also rewriting transformers mod eventually. maybe.


// ≈ “works on my machine.”

常见问题

SuperWithJava25 支持哪些 Minecraft 版本?

SuperWithJava25 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

SuperWithJava25 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ChristKind_v1 的其他作品

查看全部 →