Jump to content

Recommended Posts

Posted

Hello fellow Minecrafters!

I've been sitting at my computer the whole night programming some simple modifications. As some of them partially were in the main menu, I decided to edit the base code by copying it to the src. It all worked fine util I compiled it. Even though the files were included in the jar they didn't load, and when I tried to add them manually to the forge jar it didn't work either.

I know, I know - I should program a real mod, but as I'm not having any thoughts about releasing it - I'm just going to use it on my client - I thought it would be okay to edit the base files.

Anybody have any idea why this doesn't work or any workaround?

Thank you,

Script_Coded

Posted

Although I don't know much about it, you may need to use reflection to edit the vanilla code. But this is dangerous because if other mods edit the same classes, the mods instantly with be incompatible. So use events where possible.

Posted

Forge will ONLY run on clean version of MC.

Using Forge = only base edits you can do is ASM/Reflection.

If you want to make a private mod you can simply setup an MCP without forge, but then it will be not compatybile with Forge (obviously).

1.7.10 is no longer supported by forge, you are on your own.

Posted

I don't know what you're doing to the main menu, but could you possibly use GuiScreenEvent to edit the screen to the way you want it? It's a FML event, and would allow you to not have to edit base classes (which is discouraged.)

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

Posted

You will get no support for base editing on this forum.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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