Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So I have finished a update within a mod and me and another coder have tried recompiling it but it doesn't work. We don't get any errors either. This is the process we did

Recompile

updatesrc

reobfuscate

After this is done, we look inside the reobf folder where the mod should be and all there is, is just a empty minecraft folder. Any help? If you need any code or files just let me know.

I (the other coder) went through the process you described several times. Recompile. Reobfuscate. Nothing happened. Empty reobf/minecraft folder. One of those times, it detected one of my classes, but it never detected all of my code. I need to note that my code is not in the source folder "src", but it's in another one I made. I tried moving my code to the src folder but nothing changed.

Well then you need to reinstall because there's no way you can mod like that in a normal set up.

I still don't see where I need to put my code, but alright, I'll reinstall. Should I be putting it in the src folder?

I still don't see where I need to put my code, but alright, I'll reinstall. Should I be putting it in the src folder?

It goes in the src/minecraft folder. For example, that should make a directory like: src/minecraft/your/package/name/class.java

If you're talking about the MCP/src folder then I don't think that's the one I'm talking about. In Eclipse, on the right, the project says "Minecraft". Then there is a source folder there titled "src".

Eclipse isn't going to matter for recompiling. When you have all your java code written, put it where I said, then re-compile and re-obfuscate.

Ok, I did what you told. It worked. Do I have to move the code over every time?

Ok, I did what you told. It worked. Do I have to move the code over every time?

You can do that, which I do and its not much of a hassle, and I don't care, or you could just move the files there and set them up in eclipse that way. If you are going to move them every time, make sure you delete them after you obfuscate, otherwise you will have duplicates of everything in eclipse.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.