Opening JAR as project [message #1854649] |
Thu, 01 September 2022 05:31  |
Logan blahtimes2 Messages: 3 Registered: September 2022 |
Junior Member |
|
|
Hi! I just want to preface this with the fact I have never properly utilized an IDE, such as Eclipse, before now. Please make things easy for me to understand, where possible.
I am currently trying to open a .jar file as or within a project in Eclipse. So far, this has technically worked, however once I import this all of the files within the jar are not able to be opened for multiple reasons. .class files will not open and say they are missing a source, and .json files will not open as they are cannot open anything that's not from a source (I believe this was the error message, I am writing this from mobile as I'm done trying for today).
For context, I am doing all of this for a personal Minecraft project. I am currently trying to make a small modification to a Minecraft forge .jar mod for my own personal use, and it is exclusively changing sound effects and adding a few more sounds. The file used to call the sound effects is a .class file, and I am completely stumped as to how I can edit this class file and place it back into the jar (I am using WinRAR for this). I haven't found any way to change a .java file back into a .class file, and window's "javac" command isn't working as it is claiming it is missing a source, so I turned to Eclipse to see if I could edit the class within the jar without decompiling it. If there's a better method I'm missing, please inform me!
Thank you in advance!
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03192 seconds