Jump to content

izstas

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by izstas

  1. I need to edit some base minecraft classes, which are patched by FML/Forge as well. It's personal, not for distribution, etc. How can I do that in a way compatible with Forge's binpatch system?
  2. I saw "Deobfuscation transformer, always last" in the FML code, but why? I'd like to patch some base Minecraft classes and in my case I think it would be easier to run my transformer after the deobfuscation. Probably there's a reason not to do that, but I'd like to have a way to mark transformer to be run on deobfuscated classes.
  3. I'm making a (private) Minecraft launcher and would like to use fmlbranding. The problem I have is: I need to explicitly add my launcher JAR to classpath of ClassLoader I create to load Minecraft classes, like this: mcClassUrls.add(getClass().getProtectionDomain().getCodeSource().getLocation()); // ... URLClassLoader mcClassLoader = new URLClassLoader(mcClassUrls.toArray(new URL[0]), getClass().getClassLoader()); If I don't do that, FML doesn't see fmlbranding.properties, regardless of parent ClassLoader. What's the best way to go without adding unnecessary classes to the classpath?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.