如何获得Minecraft class Loader?
我正在为Minecraft JVM加载代理,当我从仪器中获得所有加载类时,大多数都不存在。我的代码看起来像
Class.forName("net.minecraft.client.Minecraft");
,我得到了ClassNotFoundException。我认为这是因为大多数Minecraft类都装在其他类负载器中。对如何获得此类负载器有什么想法?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道我迟到了,但
我需要使用混淆的名称来使Minecraft
在Minecraft 1.8.9 net.minecraft.client.client.minecraft.minecraft的混淆名称中使用:
而不是
使用 mcpmappingviewer 找出什么是混淆的名称:)
I know I'm late but
Minecraft is obfuscated You need to use the obfuscated names for this to work
in Minecraft 1.8.9 net.minecraft.client.Minecraft's obfuscated name is ave so you need to use:
instead of
use MCPMappingViewer to find out what the obfuscated names are :)