-
-
Notifications
You must be signed in to change notification settings - Fork 199
ask your author to provide a mcmod.info file #640
Comments
I'm going to guess IDEA 14, if so add this to build.gradle: idea { module { On Fri, 17 Apr 2015 1:57 am ewm2000 [email protected] wrote:
|
cazzar what line do i put this on or where do i put it in the build.gradle file |
Just at the end of the file. |
File name or in the code? |
In the build.gradle. |
is it a process resource? |
Just take this snippet: |
I undertand that but would it go under process resources like this? processResources
} |
or processResources
} like this outside of the project resources |
as I said. that means DO NOT put it in the processResources{} block. |
I did that and checked over my mcmod.info and everything matches but it doesnt load. It still says ask the author for the mcmod.info. Also you can go through my code to see if i messed up anywhere else |
You also need to ensure that the modid specified in your @mod matches the modid specified in the mcmod.info file. |
Just Checked the @mod and refreshed everything but for some reason it still doesn't recognize the mcmod.info file. |
For me everything is OK with Intellij IDEA.
And then you do : And then you import your project on IDEA from the .iml file or the .ipr (= IntelliJ IDEA Project File) (And finally you can do "gradlew gIR" to be able to run Minecraft from the IDE if you want it) It works for me (but I have multiple mods (modules) in my workspace so I import the .iml and I create the run configuration manually) |
When I made my mcmod.info file i put it in /src/main/resources and named it mcmod.info
Everything is done correctly and i used a sample mcmod.info file and edited it for my mod.
When i launch mc it say ask the mod author for a mcmod.info file.
I dont know what is wrong
Note:Im using intellij Idea
The text was updated successfully, but these errors were encountered: