There are some times when you really need to do a base edit (replace and or modify a minecraft class).
Most of the time you can use events and other cool forge stuff...
If really need to edit something what you need to do is make a coremod.
I found is one good tutorial out there...
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571568-tutorial-1-6-2-changing-vanilla-without-editing
It is for 1.6.2, but there is still some good info in it!
One thing that I thing really helps it to have the forgeSrc not the forgeBin in the classpath thingy in eclipse (or what ever IDE you are using).
You can do this by running...
linux:
./gradlew setupDecompWorkspace
and then ./gradlew eclipse (to update the classpath)
windows:
gradlew setupDecompWorkspace
and then gradlew eclipse
and one more note! look at the code that forge uses to load coremods/mods (mostly the coremods part)
EDIT: fixed spelling error
I have had this problem before...
gradle caches stuff, jars, etc in ~/.gradle
there are times that when I was playing around randomly executing tasks that
it mite mess something up in .gradle
fix:
you need to delete .gradle (this will re-download stuff, your project should be fine)
on linux...
open a terminal and type:
rm -r .gradle
on windows...
navigate to your home folder and delete .gradle
(files/folders starting with a '.' are not hidden on windows)
5 replies
Important Information
By using this site, you agree to our Terms of Use.